feat(1-F): upgrade to Laravel 11 monorepo — composer-merge-plugin, replace block, service providers#233
Open
herpaderpaldent wants to merge 1 commit into
Open
feat(1-F): upgrade to Laravel 11 monorepo — composer-merge-plugin, replace block, service providers#233herpaderpaldent wants to merge 1 commit into
herpaderpaldent wants to merge 1 commit into
Conversation
- Upgrade PHP requirement to ^8.2 and Laravel framework to ^11.0 - Replace seatplus/web package requirement with wikimedia/composer-merge-plugin and laravel/wayfinder ^0.1.4 (now resolved via local packages) - Add replace block so Composer satisfies cross-package deps locally without Packagist - Add merge-plugin config to include packages/*/composer.json - Register package service providers via extra.laravel.providers (L11 pattern) - Register providers also in config/app.php for IDE support - Add package namespaces to autoload.psr-4 (packages/*/src/) - Add Model::preventLazyLoading() to AppServiceProvider (non-production guard) - Add jsconfig.json with @/ path mapping for Vue IDE support - Update .gitignore: ignore /packages/ (tracked as separate git repos) - Update .env.example and .editorconfig minor formatting - Add barryvdh/laravel-ide-helper to require-dev Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Root monorepo wiring changes to support the new Laravel 11 package architecture. Pairs with the
webpackage PRs (1-A through 1-E).Changes
composer.json^8.1→^8.2, Laravel framework^10.0→^11.0seatplus/web ^4.0+symfony/processwithwikimedia/composer-merge-plugin ^2.1+laravel/wayfinder ^0.1.4replaceblock so Composer satisfies cross-package deps locally without Packagistextra.merge-pluginto includepackages/*/composer.jsonextra.laravel.providers(Laravel 11 pattern)autoload.psr-4(packages/*/src/)barryvdh/laravel-ide-helperto require-devconfig/app.phpEveapiServiceProvider,WebServiceProvider,AuthenticationServiceProviderin providers array (IDE support)app/Providers/AppServiceProvider.phpjsconfig.json— new file with@/path mapping for Vue IDE support.gitignore— add/packages/(packages are separate git repos, not subdirectories of this one).editorconfig,.env.example— minor formattingNotes
packages/directory is gitignored here; each package is its own git repo