Repository navigation
Pre-release 4.2.125 → 4.2.124 — task 4.5 (config): key:generate and config:publish follow configPath() - #98
Merged
Merged
Conversation
agissept
force-pushed
the
pre-release/4.2.125
branch
from
October 2, 2026 09:20
92290d0 to
37e4ab2
Compare
agissept
added this pull request to stack #102
October 5, 2026 06:14
agissept
force-pushed
the
pre-release/4.2.125
branch
5 times, most recently
from
October 6, 2026 02:39
61d553f to
479dafc
Compare
agissept
marked this pull request as ready for review
October 6, 2026 03:15
…th() (task 4.5)
The last two fork paths built from app/config follow the configuration
directory instead:
- key:generate replaces the key in configPath('app.php'). Its --env variant
wrote app/config/{env}/app.php, a folder the configuration no longer
cascades from, so it goes.
- The config publisher publishes package configuration under configPath().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
agissept
force-pushed
the
pre-release/4.2.125
branch
from
October 6, 2026 06:09
479dafc to
143f39f
Compare
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.
Task 4.5, config —
key:generateandconfig:publishfollowconfigPath()Stacks on #97. This is the second config slice. The dicoding app pair moves its configuration from
app/config/toconfig/, the directory a Laravel 13 app uses and the fork'sLoadConfigurationreads by default since 4.2.124. Two fork commands still built their paths fromapp/config. They now followconfigPath().Changes
key:generatereplaces the key inconfigPath('app.php').--envvariant wroteapp/config/{env}/app.php. Since 4.2.124 the configuration no longer cascades from that folder, so the variant is removed, and the command always writes the oneapp.php.key:generatewritesAPP_KEYto.env. That comes with the env-file slice.config:publishpublishes package configuration underconfigPath().FoundationConfigurationPathTestuses an application whose config path was moved withuseConfigPath():key:generatereplaces the key in thatapp.php, keeps the file's other values, updatesapp.keyand reports the new key;Verification
key:generatestill readingapp/config/app.php;app/config.feature/platform/framework-4.2.125-rc1). It movesapp/config/toconfig/and drops itsuseConfigPath()call. It ran with vendor installed exactly from its lock:config()->all()is the same as 4.2.124 in production, local, testing and endtoend. The only differences are the spellings of two paths built from the config file's own location, and they resolve to the same directory and file.php -S+server.php→index.php, and 7 artisan commands) and the 13 in-process request scenarios are identical to 4.2.124.Tag
4.2.125(92290d07) is not pushed, and neither are4.2.119–4.2.124. Tag pushes are refused for this session.🤖 Generated with Claude Code
https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo