monicahq / laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.
MIT License
273 stars 28 forks source link

feat: support Laravel 10.x #265

Closed laravel-shift closed 1 year ago

laravel-shift commented 1 year ago

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 10.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 1 year ago

:warning: Shift updated your build matrix for Laravel 10. However, since you are supporting older versions of Laravel, you need to add the following exclusions:

exclude:
  - laravel: 10.*
    php-version: 7.4
  - laravel: 10.*
    php-version: 8.0
laravel-shift commented 1 year ago

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 10. However, you should review these changes to ensure the desired combination of versions are built for your package.

laravel-shift commented 1 year 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/laravel-cloudflare.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "monicahq/laravel-cloudflare": "dev-l10-compatibility",
    }
}

Finally, run: composer update

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 3.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: