-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 11.x Shift #514
Laravel 11.x Shift #514
Conversation
ℹ️ To slim down the Laravel installation, Laravel 11 no longer has most of the core files previously included in the default Laravel application. While you are welcome to publish and customize these files, they are no longer required. Shift takes an iterative approach to removing core files which are not customized or where its customizations may be done elsewhere in a modern Laravel 11 application. As such, you may see some commits removing files and others re-registering your customizations. |
ℹ️ Starting with Laravel 10, the Shift streamlined your language files by removing options that matched the Laravel defaults and preserving your customizations. If you wish to keep the full set of language, Shift recommends running |
|
❌ Shift could not upgrade the following files since they differed from the default Laravel version. You will need to compare these files against the default Laravel 11 versions and merge any changes:
|
ℹ️ Laravel 11 no longer requires you to maintain the default configuration files. Your configuration now merges with framework defaults. Shift streamlined your configuration files by removing options that matched the Laravel defaults and preserving your true customizations. These are values which are not changeable through If you wish to keep the full set of configuration files, Shift recommends running |
ℹ️ Shift detected customized options within your configuration files which may be set with an APP_KEY=YourSecretKey!!!
APP_NAME=Symposium
APP_TIMEZONE=America/Detroit
BCRYPT_ROUNDS=10
CACHE_STORE=file
DB_CONNECTION=mysql
FILESYSTEM_DISK=public
LOG_DAILY_DAYS=7
LOG_STACK=daily,bugsnag
MAIL_FROM_ADDRESS=noreply@symposiumapp.com
MAIL_FROM_NAME=Symposium
MAIL_MAILER=smtp
QUEUE_CONNECTION=sync
REDIS_CLIENT=predis
REDIS_CLUSTER=predis
SESSION_DRIVER=file Note: some of these may simply be values which changed between Laravel versions. You may ignore any |
Shift automated this change for your committed files, but you should review any additional locations where your environment is configured and update to the new variable names. |
❌ The |
Shift detected policies registered with the |
$this->app->bind(\Illuminate\Contracts\Debug\ExceptionHandler::class, \App\Exceptions\Handler::class); |
❌ Shift detected you are using |
ℹ️ Shift updated your dependencies for Laravel 11. While many of the popular packages are reviewed, you may have to update additional packages in order for your application to be compatible with Laravel 11. Watch dealing with dependencies for tips on handling any Composer issues. The following dependencies were updated by a major version and may have their own changes. You may check their changelog for any additional upgrade steps. |
ℹ️ The base Shift detected your base controller did not have any public methods, so it was safe to mark as |
❌ Laravel 11 has removed its dependency on Shift detected potential uses of these within the following files. You should review these instances and, if they are still needed, reference the Upgrade Guide for native alternatives.
|
Shift detected potential uses of the |
php artisan vendor:publish --tag=passport-migrations |
This reverts commit d130e8f.
This pull request includes the changes for upgrading to Laravel 11.x. Feel free to commit any additional changes to the
shift-124743
branch.Before merging, you need to:
shift-124743
branchcomposer update
(if the scripts fail, try with--no-scripts
)If you need help with your upgrade, check out the Human Shifts.