Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


Build Status
Total Downloads
Latest Stable Version
License

The first fully customizable Laravel [JSON:API](https://jsonapi.org) builder. "CRUD" and protect your resources with 0 (zero) extra line of code.



Support Ukraine

## 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.