binaryk/laravel-restify

Laravel REST API helpers

8.3.2 2023-12-30 12:55 UTC

This package is auto-updated.

Last update: 2024-03-15 20:51:57 UTC


README

logo.png

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.

Support Ukraine

Installation

You can install the package via composer:

composer require binaryk/laravel-restify

Playground

You can find a playground in the Restify Demo GitHub repository.

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:

tile.png

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 or message me on twitter instead of using the issue tracker.

Credits

License

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