mirror of
https://github.com/archtechx/tenancy.git
synced 2026-03-22 06:54:04 +00:00
Laravel 13 support
- Update ci.yml and composer.json - Wrap single database tenancy trait scopes in whenBooted() - Update SessionSeparationTest to use laravel-cache- prefix in L13 and laravel_cache_ in <=L12. Our own prefix remains tenant_%tenant%_ (as configured in tenancy.cache.prefix). We could update this to be tenant-%tenant%- from now on for consistency with Laravel's prefixes (changed in https://github.com/laravel/framework/pull/56172) but I'm not sure yet. _ seems to read a bit better but perhaps consistency is more important. We may change this later and it can be adjusted in userland easily (since it's just a config option).
This commit is contained in:
parent
8f3ea6297f
commit
fd2696b405
5 changed files with 52 additions and 18 deletions
|
|
@ -18,17 +18,17 @@
|
|||
"require": {
|
||||
"php": "^8.4",
|
||||
"ext-json": "*",
|
||||
"illuminate/support": "^12.0",
|
||||
"laravel/tinker": "^2.0",
|
||||
"illuminate/support": "^12.0|^13.0",
|
||||
"laravel/tinker": "^2.0|^3.0",
|
||||
"ramsey/uuid": "^4.7.3",
|
||||
"stancl/jobpipeline": "2.0.0-rc6",
|
||||
"stancl/jobpipeline": "2.0.0-rc7",
|
||||
"stancl/virtualcolumn": "^1.5.0",
|
||||
"spatie/invade": "*",
|
||||
"laravel/prompts": "0.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/framework": "^12.0",
|
||||
"orchestra/testbench": "^10.0",
|
||||
"laravel/framework": "^13.0",
|
||||
"orchestra/testbench": "^10.0|^11.0",
|
||||
"league/flysystem-aws-s3-v3": "^3.12.2",
|
||||
"doctrine/dbal": "^3.6.0",
|
||||
"spatie/valuestore": "^1.2.5",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue