Skip to content

bubunamawu/laravel-restify

 
 

Repository files navigation

Build Status Total Downloads Latest Stable Version Quality 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

Key havings

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

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%