logo laravel

Basic Laravel 5.7 CRUD API using Fractal and Transformers

In this basic tutorial, we will create an API to create read update and delete (CRUD) a post using Laravel Transformers. Create Posts Table and User Controller Create Posts Table Create posts table through migration :

Open the newly migration file and add some attributes :

Run the migration :

Create UserController Read more about Basic Laravel 5.7 CRUD API using Fractal and Transformers[…]