Skip to content

[13.x] Update Redis prefix default in examples to match 13.x - #11381

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
GabeSilvaDev:fix/redis-prefix-default
Sep 29, 2026
Merged

taylorotwell merged 1 commit into
laravel:13.xfrom
GabeSilvaDev:fix/redis-prefix-default

Conversation

@GabeSilvaDev

Copy link
Copy Markdown
Contributor

The four config/database.php snippets in redis.md still use the Laravel 12.x default for the Redis prefix:

Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'

In 13.x, the application skeleton uses Str::slug((string) env('APP_NAME', 'laravel')).'-database-' instead. The upgrade guide also lists the old format under "Laravel <= 12.x".

With APP_NAME=Laravel, the current docs show laravel_database_, while a new Laravel 13.x application uses laravel-database-.

This updates all four snippets to match the 13.x default.

Copilot AI lite review requested due to automatic review settings September 28, 2026 18:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@taylorotwell
taylorotwell merged commit 97d2b7a into laravel:13.x Sep 29, 2026
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.

3 participants