Skip to content

Repository files navigation

Laravel Resources Tutorial

Code for Laravel Resources tutorial

Installation

Run the following to install dependencies after cloning the repository:

composer install

Run Server

Run the server with the following command:

php artisan serve

About

Laravel API resources provide a way to shape the response you send back when a call is made to your API. They give you fine grain control over which attributes are returned and even allow you to include relationship data. You can think of API resources as the data layer between your SPA and API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages