PHPackages                             thoca/rest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. thoca/rest

ActiveProject

thoca/rest
==========

Rest - A simple api rest code generator.

4295PHP

Since Jul 7Pushed 4y ago2 watchersCompare

[ Source](https://github.com/tho-ca/rest)[ Packagist](https://packagist.org/packages/thoca/rest)[ RSS](/packages/thoca-rest/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

A easier solution to create a REST API CRUD
===========================================

[](#a-easier-solution-to-create-a-rest-api-crud)

This Laravel package generates a repository pattern model with a complete CRUD that speeds up your coding. The package will take care of delivering you a model, resource, repository, request and controller all at once, all you need to do is execute the command:

```
php artisan make:rest Post
```

 [![Demo on Vercel](https://camo.githubusercontent.com/0581841cef1fc74636c54d2b568d1d30a6f08e922fdc7b9d99bf78a7dc7db781/68747470733a2f2f692e696d6775722e636f6d2f653359514b654d2e706e67)](https://camo.githubusercontent.com/0581841cef1fc74636c54d2b568d1d30a6f08e922fdc7b9d99bf78a7dc7db781/68747470733a2f2f692e696d6775722e636f6d2f653359514b654d2e706e67)

Install
-------

[](#install)

```
composer require thoca/rest
```

Preview
-------

[](#preview)

### Result Model

[](#result-model)

```
