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
- "CRUD" over resources with 0 (zero) extra custom code
- Passport checker (
php artisan restify:check-passport
) - Auth module with Laravel Sanctum (register, verify, login, reset + forgot password)
- Beautiful response maker
- Powerful and configurable searching/filtering over entities
- API friendly Exception Handler
Setup package:
php artisan restify:setup
Generate repository:
php artisan restify:repository UserRepository --all
Now you have the REST CRUD over users and this beautiful repository:
Now you can go into Postman and check it out:
GET: http://laravel.test/api/restify/users
POST: http://laravel.test/api/restify/users
GET: http://laravel.test/api/restify/users/1
PUT: http://laravel.test/api/restify/users/1
DELETE: http://laravel.test/api/restify/users/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 [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.