BinarCode / laravel-restify by binaryk

Laravel REST API helpers
330,137
605
11
Package Data
Maintainer Username: binaryk
Maintainer Contact: eduard.lupacescu@binarcode.com (Eduard Lupacescu)
Package Create Date: 2019-12-10
Package Last Update: 2024-10-21
Home Page: https://restify.binarcode.com
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:25:47
Package Statistics
Total Downloads: 330,137
Monthly Downloads: 5,385
Daily Downloads: 311
Total Stars: 605
Total Watchers: 11
Total Forks: 54
Total Open Issues: 8

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.