Comments (9)
jgrossi/corcel v5.0.0 requires illuminate/database ^8.0
^8.0 does include every upper version until excluding 9.0
from corcel.
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.
#603
jgrossi/corcel v5.0.0 requires illuminate/database ^8.0
^8.0 does include every upper version until excluding 9.0have 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.
sure i will check it tonight
from corcel.
#603
jgrossi/corcel v5.0.0 requires illuminate/database ^8.0
^8.0 does include every upper version until excluding 9.0have 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.
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.
Also this issue is a duplicate of #602
from corcel.
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.
hey 👋 support to Laravel 9 included on the new tag v6.0.0
from corcel.
Related Issues (20)
- Can't install with Hyperf framework HOT 3
- InvalidArgumentException with message 'Database connection [corcel] not configured.'
- Exclude authors/categories from post retrieving? HOT 1
- Trying to get property 'guid' of non-object.
- Corcel and Laravel Voyager incompatibility HOT 1
- How to use corcel in WordPress plugin for custom tables
- Get post category name HOT 1
- How to use WordPress plugins inside Laravel with Corcel? HOT 4
- Multiple Database connection, What should I set connection in Corcel ? HOT 1
- Two factor authentification HOT 2
- Menu doesn't return Product Categories added to WordPress menus
- How to query for Posts with updated_at field ?
- Corcel acf plugin not installable
- Missing PhpOption\Option dependencies on CakePHP HOT 2
- DB connection error Laravel HOT 1
- Add support for Laravel 10 HOT 10
- onEachSide give error but works HOT 1
- Project abandoned? HOT 3
- The Eloquent model's deprecated $dates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corcel.