Chris
Chris
Hi there and thanks for the package. It would be great if this pull request gets merged and released. We updated to PHP8 because of the spatie packages and can't...
You mean "data" key? Answered here: https://github.com/thephpleague/fractal/issues/142 Add the ArraySerializer to your manager: `$this->fractalManager->setSerializer(new ArraySerializer());` For Include collections just create your own serializer, which inherits from the ArraySerializer like jasonlewis...
I don't have a solution for: without "getting to change the serializer." . But in your transform() method you can set the data manual: `namespace App\Transformers; use League\Fractal\TransformerAbstract; use App\Transformers\ItemsTransformer;...