binaryk/laravel-restify

Laravel REST API helpers

2.0.2 2020-01-22 11:53 UTC

README

68747470733a2f2f62696e6172796b2e6769746875622e696f2f6c61726176656c2d726573746966792f6173736574732f696d672f6c6f676f2e706e67

Build Status Total Downloads Latest Stable Version Test Coverage Quality License

This package will generate the API resources "CRUD" for you. By using Laravel buit in Policies and Eloquent Resource API the implementation become a pleasure.

The response is made according with JSON:API standard.

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 authentication (use php artisan restify:check-passport for it's setup)
  • Auth module (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 Post

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.