Open
Conversation
QWp6t
approved these changes
Mar 23, 2026
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.
Before merge:
mainand push to5.xRef #521
Upgrading to v6.x from v5.x
Acorn v6 includes Laravel v13 components, whereas Acorn v5 includes Laravel v12 components.
Upgrading dependencies
Acorn v6 requires PHP >= 8.3.
Update the
roots/acorndependency in yourcomposer.jsonfile to^6.0:The
-Wflag is required to upgrade the included Laravel dependencies.Breaking changes
Cache, session, and Redis prefix separators
The default prefix/cookie separators have changed from underscores to hyphens to match Laravel 13 defaults. This means:
laravel_cache_→laravel-cache-laravel_session→laravel-sessionlaravel_database_→laravel-database-This will invalidate existing caches and log out all sessions unless you have explicitly set these values via environment variables (
CACHE_PREFIX,SESSION_COOKIE,REDIS_PREFIX).To preserve existing behavior, add these to your
.env:Mail configuration
The SMTP
encryptionkey has been replaced withscheme:'smtp' => [ 'transport' => 'smtp', - 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'scheme' => env('MAIL_SCHEME'), ],If you are using the
MAIL_ENCRYPTIONenvironment variable, rename it toMAIL_SCHEME.Logging configuration
The stderr channel's
withkey has been renamed tohandler_with:'stderr' => [ 'driver' => 'monolog', 'handler' => StreamHandler::class, - 'with' => [ + 'handler_with' => [ 'stream' => 'php://stderr', ], ],Config changes
If you have published Acorn's configs, you should review and update them based on the latest versions in the Acorn repo. Notable changes include:
serializable_classesoptionserializationoptiontransaction_mode, SSL CA guard updated for PHP 8.5resendandroundrobinmailers,retry_afteron failover,markdownsection removed(string)casts added toenv()calls per Laravel 13 conventions