cyou / slimapi
Laravel REST API helpers
Requires
- php: ^8.0
- illuminate/contracts: ^9.0
- laravel/pint: ^1.0
- spatie/data-transfer-object: ^3.1
- spatie/laravel-package-tools: ^1.12
- spatie/once: ^3.0
Requires (Dev)
- brianium/paratest: ^6.2
- doctrine/dbal: ^3.0
- nunomaduro/collision: ^6.0
- orchestra/testbench: ^7.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^4.4
This package is not auto-updated.
Last update: 2024-12-15 11:35:46 UTC
README
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
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:
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.