Open amirsahra opened 1 year ago
I'm interested in having a Laravel 10 working version as well.
mee too
Me too
Me too
Same here
Same
Me too
Here too
I made some changes to run this project in Laravel v10:
First, need to change the code, I make this fork: https://github.com/gabrieldesousah/NeoEloquent/tree/v1.10.0
Then, in your composer.json, add:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/gabrieldesousah/NeoEloquent"
}
],
Then change the version:
"require": {
...
"vinelab/neoeloquent": "^1.10"
},
Finally, in your Laravel v10 project, install the repository with all dependencies:
composer require vinelab/neoeloquent --with-all-dependencies
I made some changes to run this project in Laravel v10:
First, need to change the code, I make this fork: https://github.com/gabrieldesousah/NeoEloquent/tree/v1.10.0
Then, in your composer.json, add:
"repositories": [ { "type": "vcs", "url": "https://github.com/gabrieldesousah/NeoEloquent" } ],
Then change the version:
"require": { ... "vinelab/neoeloquent": "^1.10" },
Finally, in your Laravel v10 project, install the repository with all dependencies:
composer require vinelab/neoeloquent --with-all-dependencies
There seems to be more than just updating package versions in composer.json
For example, running a query throws this error:
[2023-10-15 15:47:28] local.ERROR: Vinelab\NeoEloquent\Query\Builder cannot implement Illuminate\Database\Query\Builder - it is not an interface {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Vinelab\\NeoEloquent\\Query\\Builder cannot implement Illuminate\\Database\\Query\\Builder - it is not an interface at /opt/homebrew/var/www/klug-laravel/vendor/vinelab/neoeloquent/src/Query/Builder.php:25)
[stacktrace]
#0 {main}
"}
The class it wants to implement is not an interface. There could be more such errors, I haven't gone through it yet. Let me know if you have found any fix/solution.
yep, I made run, but not work all queries.. i change a lot of files in source, but need to make something deeper
I have this draft PR to support php8^ & Laravel 10. https://github.com/Vinelab/NeoEloquent/pull/374 It's made from my personal fork, I invite anyone to collaborate: https://github.com/Tachii/NeoEloquent
To install and run it, add this to your composer.json:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Tachii/NeoEloquent"
}
]
"require": {
"vinelab/neoeloquent": "dev-php-8-laravel-10"
}
It gives this error during installation
composer require vinelab/neoeloquent:*
`./composer.json has been updated Running composer update vinelab/neoeloquent Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation failed, reverting ./composer.json and ./composer.lock to their original content. `