BinarCode / laravel-restify by binaryk

Laravel REST API helpers
291,044
553
11
Package Data
Maintainer Username: binaryk
Maintainer Contact: eduard.lupacescu@binarcode.com (Eduard Lupacescu)
Package Create Date: 2019-12-10
Package Last Update: 2024-04-11
Home Page: https://restify.binarcode.com
Language: PHP
License: MIT
Last Refreshed: 2024-04-27 03:02:30
Package Statistics
Total Downloads: 291,044
Monthly Downloads: 6,136
Daily Downloads: 331
Total Stars: 553
Total Watchers: 11
Total Forks: 50
Total Open Issues: 6

The first fully customizable Laravel JSON:API builder. "CRUD" and protect your resources with 0 (zero) extra line of code.

Installation

You can install the package via composer:

composer require binaryk/laravel-restify

Videos

If you are a visual learner, checkout our video course for the Laravel Restify.

Quick start

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

Usage

See the official documentation.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email eduard.lupacescu@binarcode.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.