Download the PHP package pyntax/laravel-pyntax-rest-api-helper without Composer
On this page you can find all versions of the php package pyntax/laravel-pyntax-rest-api-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-pyntax-rest-api-helper
Laravel - Pyntax API Helper
This library is used to automate the processing of creating REST resource with the following verbs
- GET
- POST
- PUT
- DELETE
This library will create the following routes.
- GET /api/{resource}
- GET /api/{resource}/{id}
- POST /api/{resource}
- PUT /api/{resource}/{id}
- DELETE /api/{resource}/{id}
The library will use Eloquent models out of the box to create the above functionality. We wan also turn on the cache, which can make the delivering the resource a lot faster.
Installation
- run
composer require "pyntax/laravel-pyntax-rest-api-helper":"dev-master"
- Add
\Pyntax\Providers\PyntaxApiServiceProvider::class
to config/app.php under "providers" key. - run
php artisan:vendor publish
- By default the API route for users is configured.
- Add your more of your routes and happy coding.
License
The Pyntax API Helper is open-sourced software licensed under the MIT license.
All versions of laravel-pyntax-rest-api-helper with dependencies
PHP Build Version
Package Version
No informations.
The package pyntax/laravel-pyntax-rest-api-helper contains the following files
Loading the files please wait ....