laravel-doctrine / orm

An integration library for Laravel and Doctrine ORM
MIT License
829 stars 177 forks source link

[1.8.1/1.9] Add support for laravel 10 (without DBAL 3 upgrade) #555

Closed PrinsFrank closed 1 year ago

PrinsFrank commented 1 year ago

This PR adds support for Laravel 10.

As the "2.0" branch is blocked by a partial DBAL upgrade (#538), this PR is to the "1.8" branch.

After this PR has been merged, either a "1.8.1" or "1.9" release can be tagged to add support for Laravel 10.

If you want to use this branch before this PR has been merged, you can add the repository:

composer config repositories.laravel-doctrine-orm vcs https://github.com/PrinsFrank/laravel-doctrine-orm.git

And then use the branch as a requirement:

composer require laravel-doctrine/orm:dev-laravel-10-support

If you are using other laravel-doctrine packages or other packages in general that rely on 1.x versions of this package, you can alias the development branch to the 1.9 version so this can be used in conjuction.

composer require "laravel-doctrine/orm:dev-laravel-10-support as 1.9"
PrinsFrank commented 1 year ago

Nvm, laravel has an implicit dependency to DBAL 3...

eigan commented 1 year ago

@PrinsFrank Target 2.0 branch :)