RFC: 6.x: Use public/ instead of webroot/
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 387
- Forks
- 392
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Description
I think with v6 we should finally fix this up to be consistent with all other frameworks and the intuitive understanding of
- whats actually "public" from the outside, accessible directly
- and whats "under the hood"
This would make CakePHP compatible with
https://github.com/php-pds/skeleton
Symfony, Laravel and the other major PHP frameworks all use this for years, and it also makes the transition from them to Cake easier, as well as provide less hacks needed for dev tools (e.g. ddev needs to customize this internally to fit Cake).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue proposal and compare the CakePHP application template with php-pds/skeleton, Symfony, and Laravel layouts. Identify the migration and tooling implications of replacing webroot/ with public/; done requires an agreed implementation and transition plan rather than a single specified file change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100