PHPackages                             osedea/laravel-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. [HTTP &amp; Networking](/categories/http)
4. /
5. osedea/laravel-rest

ActiveLibrary[HTTP &amp; Networking](/categories/http)

osedea/laravel-rest
===================

A bundle providing a RESTful API for the Laravel framework version 5 using the command bus.

v0.2.1(10y ago)191453[1 PRs](https://github.com/Osedea/laravel-rest/pulls)PHPPHP &gt;=5.4.0

Since May 20Pushed 9y ago28 watchersCompare

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

READMEChangelogDependencies (1)Versions (6)Used By (0)

Note
====

[](#note)

This package is no longer maintained. Should you have any issues, you are free to fork the repo.

LaravelRest
===========

[](#laravelrest)

This is a Laravel 5 package that creates RESTful API routes for your models and uses the command bus to execute CRUD requests.

Installation
------------

[](#installation)

Install the package via composer:

```
composer require osedea/laravel-rest:~0.2.1

```

Usage
-----

[](#usage)

First, add the eloquence service provider to your config/app.php file:

```
'Osedea\LaravelRest\LaravelRestServiceProvider'

```

All you models need to use the trait `\Osedea\LaravelRest\Traits\CommandModel` to provide some attributes and methods:

```
