Vinelab / NeoEloquent

The Neo4j OGM for Laravel
MIT License
633 stars 197 forks source link

PHP8.2 & Laravel 10 update #374

Open Tachii opened 8 months ago

Tachii commented 8 months ago

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:

Add at the top of the composer.json

"repositories": [
  {
    "type": "vcs",
    "url": "https://github.com/Tachii/NeoEloquent"
  }
 ]

Add this into require block

"require": {
  "vinelab/neoeloquent": "dev-php-8-laravel-10"
}

What was done:

  1. Replaced faker library that doesn't support php8^
  2. Updated needed dependencies to the same version as in Laravel 10
  3. Changed some of the methods to match parent classes/interfaces
  4. Added missing methods introduced in Laravel 10
Tachii commented 8 months ago

@Mulkave Can you please take a look?

vsjoshtait commented 7 months ago

@Tachii D'you need help with anything else? I'd be happy to. @Mulkave Can we have an approval please?

Keen to use this.

Tachii commented 6 months ago

@vsjoshtait I haven't checked it in a while, most likely will need to update tests and some other functionality, but it seems to work ok with basic methods and calls, haven't checked with more advanced ones tho

babacarcissedia commented 4 months ago

Looking forward for this one too