cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.51k stars 238 forks source link

Laravel 9.x Compatibility #561

Closed laravel-shift closed 2 years ago

laravel-shift commented 2 years ago

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.

Before merging, you need to:

If you do find an issue, please report it by commenting on this PR to help improve future automation.

laravel-shift commented 2 years ago

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.

To do so, temporarily add Shift's fork to the repositories property of your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/sentinel.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "cartalyst/sentinel": "dev-l9-compatibility",
    }
}

Finally, run: composer update

conord commented 2 years ago

Successfully tested this PR locally. All of my project's tests covering Sentinel pass after update.

suwardany commented 2 years ago

Sentinel 6 for Laravel 9 is on the master branch, make sure your minimum stability is set to dev, you can then install it using "cartalyst/sentinel": "^6.0"

A tag will be released in the coming days.