Skip to content

fix composer.json not being generated for private plugins#1054

Closed
LordSimal wants to merge 1 commit into3.xfrom
3.x-fix-composer-json-generation
Closed

fix composer.json not being generated for private plugins#1054
LordSimal wants to merge 1 commit into3.xfrom
3.x-fix-composer-json-generation

Conversation

@LordSimal
Copy link
Copy Markdown
Contributor

I'd love to see users move the namespace definition of their private plugins inside the plugin where its actually used, not in the root composer.json like in the old days.

This is supported since CakePHP 5 / Plugin Installver v2 as you can see here

Currently when baking a plugin it doesn't generate a composer.json AND doesn't adjust the composer.json of the root app, so the generated namespace in the plugin is actually not hooked up at all.

@LordSimal LordSimal added this to the 3.x (CakePHP 5) milestone Sep 3, 2025
@LordSimal LordSimal closed this Sep 3, 2025
@LordSimal
Copy link
Copy Markdown
Contributor Author

I am stupid and forgot about this: #998 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant