Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binarcode/laravel-restify
The fastest way to make a powerful JSON:API compatible Rest API with Laravel.
https://github.com/binarcode/laravel-restify
composer laravel rest-api
Last synced: 4 days ago
JSON representation
The fastest way to make a powerful JSON:API compatible Rest API with Laravel.
- Host: GitHub
- URL: https://github.com/binarcode/laravel-restify
- Owner: BinarCode
- License: mit
- Created: 2019-12-10T19:12:46.000Z (about 5 years ago)
- Default Branch: 9.x
- Last Pushed: 2024-12-04T15:20:00.000Z (18 days ago)
- Last Synced: 2024-12-18T22:05:22.301Z (4 days ago)
- Topics: composer, laravel, rest-api
- Language: PHP
- Homepage: https://restify.binarcode.com
- Size: 4.9 MB
- Stars: 603
- Watchers: 11
- Forks: 54
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
The first fully customizable Laravel [JSON:API](https://jsonapi.org) builder. "CRUD" and protect your resources with 0 (zero) extra line of code.
## Installation
You can install the package via composer:
```bash
composer require binaryk/laravel-restify
```## Playground
You can find a playground in the [Restify Demo GitHub repository](https://github.com/BinarCode/restify-demo).
## Videos
If you are a visual learner, checkout [our video course](https://www.binarcode.com/learn/restify) for the Laravel Restify.
## Quick start
Setup package:
```bash
php artisan restify:setup
```Generate repository:
```bash
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:
```bash
GET: http://laravel.test/api/restify/dreams
``````bash
POST: http://laravel.test/api/restify/dreams
``````bash
GET: http://laravel.test/api/restify/dreams/1
``````bash
PUT: http://laravel.test/api/restify/dreams/1
``````bash
DELETE: http://laravel.test/api/restify/dreams/1
```## Usage
See the [official documentation](https://restify.binarcode.com).
### Testing
``` bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] or [message me on twitter](https://twitter.com/LupacescuEuard) instead of using the issue tracker.
## Credits
- [Eduard Lupacescu](https://twitter.com/LupacescuEuard)
- [Koen Koenster](https://github.com/Koenster)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.