arthurkirkosa / laravel-restify

Laravel Restify - JSON:API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Total Downloads Latest Stable Version License

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 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

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.

About

Laravel Restify - JSON:API

License:MIT License


Languages

Language:PHP 99.9%Language:Blade 0.1%Language:JavaScript 0.0%