laravel-health-check icon indicating copy to clipboard operation
laravel-health-check copied to clipboard

Laravel 11.x Compatibility

Open laravel-shift opened this issue 11 months ago • 4 comments

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

Before merging, you need to:

  • Checkout the l11-compatibility branch
  • Review all comments for additional changes
  • Thoroughly test your package

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

laravel-shift avatar Mar 01 '24 17:03 laravel-shift

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

laravel-shift avatar Mar 01 '24 17:03 laravel-shift

: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/laravel-health-check.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "ukfast/laravel-health-check": "dev-l11-compatibility",
    }
}

Finally, run: composer update

laravel-shift avatar Mar 01 '24 17:03 laravel-shift

⚗️ 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.

This update is working for me :)

jaydublu2002 avatar May 16 '24 07:05 jaydublu2002

{
    "require": {
        "ukfast/laravel-health-check": "dev-l11-compatibility",
    }
}

This part is mistaken. You need to use "ans-group/laravel-health-check": "dev-l11-compatibility" instead.

mwmx avatar May 27 '24 19:05 mwmx

I'm going to close this PR and v2 the package to drop older versions and include Laravel 11

phily245 avatar Jul 15 '24 10:07 phily245