GithubHelp home page GithubHelp logo

Laravel 9 issue about corcel HOT 9 CLOSED

wontone18 avatar wontone18 commented on May 27, 2024
Laravel 9 issue

from corcel.

Comments (9)

bumbummen99 avatar bumbummen99 commented on May 27, 2024

#603

jgrossi/corcel v5.0.0 requires illuminate/database ^8.0

^8.0 does include every upper version until excluding 9.0

from corcel.

wontone18 avatar wontone18 commented on May 27, 2024

#603

jgrossi/corcel v5.0.0 requires illuminate/database ^8.0

^8.0 does include every upper version until excluding 9.0

have u try it with laravel 9?

from corcel.

bumbummen99 avatar bumbummen99 commented on May 27, 2024

#603
jgrossi/corcel v5.0.0 requires illuminate/database ^8.0
^8.0 does include every upper version until excluding 9.0

have u try it with laravel 9?

Yes i did just for you now and it is working fine. Please read my last comment for information on what the actual issue you have included in the OP is. You can get more information here:
https://semver.org/
https://getcomposer.org/doc/articles/versions.md

from corcel.

wontone18 avatar wontone18 commented on May 27, 2024

sure i will check it tonight

from corcel.

wontone18 avatar wontone18 commented on May 27, 2024

#603
jgrossi/corcel v5.0.0 requires illuminate/database ^8.0
^8.0 does include every upper version until excluding 9.0

have u try it with laravel 9?

Yes i did just for you now and it is working fine. Please read my last comment for information on what the actual issue you have included in the OP is. You can get more information here: https://semver.org/ https://getcomposer.org/doc/articles/versions.md

My php version is 8.1.1 and amazing how it works in your side because illuminate/database:^8.0 only support php ^7.3. And latest "illuminate/database": "^9.0" works with php 8.1.1.

Problem 1
   - jgrossi/corcel[v5.1.0, ..., v5.1.1] require illuminate/database ^8.0 -> found illuminate/database[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
   - Root composer.json requires jgrossi/corcel ^5.1 -> satisfiable by jgrossi/corcel[v5.1.0, v5.1.1].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require jgrossi/corcel:*" to figure out if any version is installable, or "composer require jgrossi/corcel:^2.1" if you know which you need.

from corcel.

bumbummen99 avatar bumbummen99 commented on May 27, 2024

Of course you have to raise the version constraint for all illuminate packages to also include ^9.0 in composer.json of this package, this is what i tried to explain in my answers to your issue. You will have to use the version provided in #603 or do your own fork until this has been merged. Of course it does not work with Laravel 9, the version constraint does restrict that it as i have explained - that is totally intended as L9 could be a breaking change.

What you said about illuminate/database is not true, please look at https://packagist.org/packages/illuminate/database#v8.12.0

To verify yourself that it does work, simply clone this repository, edit composer.json and raise all illuminate to ^9 and testbench to 7, then composer install and run php vendor/bin/phpunit and tests will run just fine.

from corcel.

bumbummen99 avatar bumbummen99 commented on May 27, 2024

Also this issue is a duplicate of #602

from corcel.

wontone18 avatar wontone18 commented on May 27, 2024

Of course you have to raise the version constraint for all illuminate packages to also include ^9.0 in composer.json of this package, this is what i tried to explain in my answers to your issue. You will have to use the version provided in #603 or do your own fork until this has been merged. Of course it does not work with Laravel 9, the version constraint does restrict that it as i have explained - that is totally intended as L9 could be a breaking change.

What you said about illuminate/database is not true, please look at https://packagist.org/packages/illuminate/database#v8.12.0

To verify yourself that it does work, simply clone this repository, edit composer.json and raise all illuminate to ^9 and testbench to 7, then composer install and run php vendor/bin/phpunit and tests will run just fine.

Thanks its done with the manual way. i also Updated my composer/autoload_psr4.php and installed.json( here also i updated versions) then composer dump-autoload.

i hope you will come with the new version soon

from corcel.

jgrossi avatar jgrossi commented on May 27, 2024

hey 👋 support to Laravel 9 included on the new tag v6.0.0

from corcel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.