This package supports Laravel 11 and Laravel Doctrine ORM 2.0 not plans to upgrade.
Successor: https://github.com/ScholarshipOwl/laravel-doctrine-jsonapi
Version | Supported Laravel Versions |
---|---|
^0.2.0 | 7.x |
^0.3.0 | 8.x |
^0.4.0 | 9.x |
^0.5.0 | 10.x |
^0.6.0 | 11.x |
- Upgrade composer dependencies
composer require pavelz/laravel-doctrine-rest:^0.5.0
- Remove
LaravelDoctrine\ORM\Types\Json::class
fromconfig/doctrine.php
atcustom_types
if you have it there. - Set
'namespace' => 'DoctrineProxies'
inconfig/doctrine.php
atmanagers.*.proxies
section.
Use docker-compose
for running PHPUnit tests even if your local PHP runtime version doesn't match librariy one.
To install dependencies and run the tests
docker compose run php
To get shell into Docker environment run
docker compose run php sh