How to add meta data in laravel api resource
I find the way hou can i do this
Actually i just have to use additional
method for laravel resource like:
$data = Project::limit(100)->get();
return ProjectResource::collection($data)->additional(['some_id => 1']);