flugg / laravel-responder

A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.
MIT License
861 stars 86 forks source link

composer require flugger/laravel-responder error laravel 10 #188

Closed jackkitley closed 1 year ago

jackkitley commented 1 year ago

` In OverridesFractal.php line 22:

Declaration of Flugg\Responder\Transformers\Concerns\OverridesFractal::getAvailableIncludes() must be compatible with League\Fractal\TransformerAbstract::getAvailableIncludes(): array

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255`

vermorag commented 1 year ago

As a temporal measure, I've added

"league/fractal": "0.19.0"

To root composer.json, if has downgraded this package and everything seems fine for now.

UtkuDalmaz commented 1 year ago

As a temporal measure, I've added

"league/fractal": "0.19.0"

To root composer.json, if has downgraded this package and everything seems fine for now.

thanks but this repo should be updated to support laravel 10 asap tho

vermorag commented 1 year ago

Let's wait for https://github.com/flugg/laravel-responder/pull/190

flugg commented 1 year ago

190 is merged, apologises for the wait