Comments (10)
@jgrossi Is this package abandoned?!!
Because I see multiple PR to support Laravel 10, like #632 #636
from corcel.
There is also a problem with method belongsToMany:
Declaration of Corcel\Model::belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null) must be compatible with Illuminate\Database\Eloquent\Model::belongsToMany($related, $table = null, $foreignPivotKey = null, $relatedPivotKey = null, $parentKey = null, $relatedKey = null, $relation = null)
.
from corcel.
Ugly fix that's working for me, in my
composer.json
:"laravel/framework": "10.8 as 9.5"
That is not a fix. This will break plenty of things in the working environment.
from corcel.
support to laravel 10 added ✅ on v7.0.0
from corcel.
I'm trying to use this package in my Laravel 10 project, but I'm encountering an error related to compatibility. I believe there is a conflict between the requirements of package and Laravel 10. Can you please help me resolve this issue?
{
"require": {
"php": "^8.1",
"laravel/framework": "^10.0",
"jgrossi/corcel": "^6.0"
},
"minimum-stability": "dev",
"prefer-stable": true
}
root@9b930a79d8df:/var/www/html/cmposer# composer i
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install laravel/framework v10.0.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v10.0.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result)
- jgrossi/corcel[v6.0.0, ..., 6.0.x-dev] require illuminate/support ^9.0 -> satisfiable by illuminate/support[v9.0.0-beta.1, ..., 9.x-dev].
- Only one of these can be installed: illuminate/support[v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., 10.x-dev].
- Root composer.json requires jgrossi/corcel ^6.0 -> satisfiable by jgrossi/corcel[v6.0.0, 6.0.x-dev].
from corcel.
Mine is:
jgrossi/corcel[v6.0.0, ..., 6.0.x-dev] require illuminate/support ^9.0 -> satisfiable by illuminate/support[v9.0.0-beta.1, ..., 9.x-dev].
- jgrossi/corcel[v5.1.0, ..., v5.1.1] require illuminate/support ^8.0 -> satisfiable by illuminate/support[v8.0.0, ..., 8.x-dev].
- Only one of these can be installed: illuminate/support[dev-master, v4.0.0-BETA2, ..., 4.2.x-dev, v5.3.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
from corcel.
I made a fast fork for this, add this to your composer.json
"repositories": {
"corcel-for-laravel-10" : {
"url": "https://github.com/Stevemoretz/corcel.git",
"type": "git"
}
}
Now install it, remember this is not tested I just made it possible to get installed that's all, here's all I did:
from corcel.
Same issue as @adam-aido . Unable to use laravel 10
from corcel.
Ugly fix that's working for me, in my composer.json
:
"laravel/framework": "10.8 as 9.5"
from corcel.
@adam-aido I know it's not a fix, of course, but it's working for our project that only has a clash with this library and nothing else.
from corcel.
Related Issues (20)
- Corcel 5.0 with Laravel 9 HOT 3
- Laravel 9 issue HOT 9
- 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
- onEachSide give error but works HOT 1
- Project abandoned? HOT 3
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.