Laravel API resources

02. Static collection method

Building an API? Let Laravel API resources take care of your JSON responses.