Download the PHP package novatree/restmodel without Composer
On this page you can find all versions of the php package novatree/restmodel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download novatree/restmodel
More information about novatree/restmodel
Files in novatree/restmodel
Download novatree/restmodel
More information about novatree/restmodel
Files in novatree/restmodel
Vendor novatree
Package restmodel
Short Description enable restful routes and services with existing Eloquent Models
License MIT
Package restmodel
Short Description enable restful routes and services with existing Eloquent Models
License MIT
Please rate this library. Is it a good library?
Informations about the package restmodel
Laravel-RestModel

What is RestModel ? It is a laravel based package that can expose api for any model provided. Its easy !
Functionality
- this packages extends your models CRUD based functionality.
- it provides you restful functionality with your existing methods without righting single line of code.
- e.g. if you have a User model then,
- you can get all results by accessing this url [your-project-name]/User (GET)
- you can get a particular record by accessing this url [your-project-name]/User/id (GET)
- you can create a record with providing all necessary model attributes hitting url [your-project-name]/User (POST)
- you can update a record passing id and all necessary model attributes hitting url [your-project-name]/User/id (PUT)
- you can delete a record passing id hitting url [your-project-name]/User/id (DELETE)
- you can get all results by accessing this url [your-project-name]/User (GET)
Installation
- to install the package please type the command composer require novatree/restmodel from console in your laravel project directory .Then follow the steps bellow ....
- go to your laravel application root directory.
- there is a file with the YourLaravelProject\Config\app.php.
- in this file there is an array of contents called providers.
- paste
Novatree\Rest\RestProvider::classinYourLaravelProject\config\app.phpfile providers array.- now from your console type
composer dump-autoloadorcomposer dump-autoload -ofor autloading composer vendor and classes.- its all set .
- If you faced any problem regarding this package feel free to mail me
- [email protected]/[email protected]
All versions of restmodel with dependencies
PHP Build Version
Package Version
The package novatree/restmodel contains the following files
Loading the files please wait ...