spatie / laravel-cors

Send CORS headers in a Laravel application
https://spatie.be/en/opensource/laravel
MIT License
603 stars 59 forks source link

How to use with Laravel 5.7 #29

Closed boyamahero closed 6 years ago

boyamahero commented 6 years ago

I cannot upgrad laravel to 5.7.0 from 5.6 with "spatie/laravel-cors": "^1.2"

This is my composer.json

"require": {
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "guzzlehttp/guzzle": "^6.3",
        "laravel/framework": "5.7.*",
        "laravel/passport": "^6.0",
        "laravel/tinker": "^1.0",
        "spatie/laravel-cors": "^1.2"
    },
λ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - spatie/laravel-cors 1.2.2 requires illuminate/support 5.5.*|5.6.* -> satisfiable by laravel/framework[v5.6.33, 5.6.x-dev], illuminate/support[5.5.x-dev, 5.6.x-dev, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
freekmurze commented 6 years ago

We plan on upgrade all our packages as soon as Laravel 5.7 is released.