Download the PHP package robinmarechal/database-rest-unwrapper without Composer
On this page you can find all versions of the php package robinmarechal/database-rest-unwrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robinmarechal/database-rest-unwrapper
More information about robinmarechal/database-rest-unwrapper
Files in robinmarechal/database-rest-unwrapper
Package database-rest-unwrapper
Short Description A simple way to unwrap your database as a RESTful API.
License MIT
Homepage https://github.com/RobinMarechal/database-rest-unwrapper
Informations about the package database-rest-unwrapper
Database Rest Unwrapper
This project is deprecated and no longer maintained!
A simple way to unwrap your database as a RESTful API. Only tested with Laravel 5.5 and MySQL.
Requirements
Installation
Installing the package and it's dependencies:
Or, add the line "robinmarechal/database-rest-unwrapper": "^1.0.x-dev" to the require section of your composer.json, then run the command composer update
Registering the service provider to your app:
Go to the file /config/app.php, add the line
in the providers section.
Final step:
Add the line use HandleRestRequest; to a parent class of your application's controllers, or to all of your controllers.
In a fresh Laravel installation, the Controller class should be located at app/Http/Controllers/Controller.php
Here you go!
All versions of database-rest-unwrapper with dependencies
php Version >=7.0.0
illuminate/database Version >=5.0.0
illuminate/http Version >=5.0.0
nesbot/carbon Version >=1.22