Repository navigation
Support Laravel 13 - #1
Merged
Merged
Conversation
Require PHP 8.3 and Laravel 11–13, and update Wink for the authentication contract, facade aliases, and public upload disk. Co-authored-by: Yeta Zulu <drscript@users.noreply.github.com>
The ^11.5 constraint only matched the 11.x dev branch. ^11.0 resolves to stable v11.3, which still runs the suite on Laravel 13. Co-authored-by: Yeta Zulu <drscript@users.noreply.github.com>
drscript
marked this pull request as ready for review
September 25, 2026 16:18
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
Wink now installs on PHP 8.3+ with Laravel 11, 12, or 13. Laravel 13 is the version this change is verified against.
composer.jsonrequiresphp: ^8.3andlaravel/framework: ^11.0||^12.0||^13.0.league/commonmarkis a direct dependency because posts render Markdown with it.WinkAuthorimplementsgetAuthPasswordName(), which theAuthenticatablecontract has required since Laravel 11. Without it, login cannot rehash passwords.Routefacade, and password reset uses theHashfacade class. Fresh Laravel 11+ apps no longer register global facade aliases, so\Routeand\Hashare not defined.wink.domainis non-empty. Laravel 13 matches domain routes ahead of host-agnostic routes.wink:migrateloads migrations from the package directory instead of a hard-codedvendor/themsaid/winkpath.publicdisk (wink/images). Laravel 11+ points thelocaldisk atstorage/app/private, whichstorage:linkdoes not expose. Markdown rendering calls CommonMark'sconvert()API.The Vue admin bundle is unchanged. Laravel 13 still provides the
mix()helper those views use.Public models, routes, commands, and the admin UI are unchanged.
Upgrade notes
Published
config/wink.phpfiles should set:Files uploaded on Laravel 10 with the old defaults already live in
storage/app/public/wink/images. Move any files that landed instorage/app/private/public/wink/imagesafter a Laravel 11+ upgrade.Verification
composer updatein this package resolveslaravel/frameworkv13.33.0 with Orchestra Testbench v11.3.0.laravel/laravel13.10 app (laravel/frameworkv13.33.0) cancomposer requirethis branch.wink:installandwink:migratesucceed,/wink/loginrenders, a created author can sign in, and/wink/api/postsreturns the paginated JSON the admin UI expects.