The first fully customizable Laravel JSON:API builder. "CRUD" and protect your resources with 0 (zero) extra line of code.
You can install the package via composer:
composer require binaryk/laravel-restify
You can find a playground in the Restify Demo GitHub repository.
If you are a visual learner, checkout our video course for the Laravel Restify.
Setup package:
php artisan restify:setup
Generate repository:
php artisan restify:repository Dream --all
Now you have the REST CRUD over dreams and this beautiful repository:
Now you can go into Postman and check it out:
GET: http://laravel.test/api/restify/dreams
POST: http://laravel.test/api/restify/dreams
GET: http://laravel.test/api/restify/dreams/1
PUT: http://laravel.test/api/restify/dreams/1
DELETE: http://laravel.test/api/restify/dreams/1
See the official documentation.
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email eduard.lupacescu@binarcode.com or message me on twitter instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.