pyntax / laravel-pyntax-rest-api-helper
There is no license information available for the latest version (0.2) of this package.
Package info
github.com/SahilDude89ss/laravel-pyntax-rest-api-helper
pkg:composer/pyntax/laravel-pyntax-rest-api-helper
0.2
2017-09-07 06:41 UTC
This package is auto-updated.
Last update: 2026-02-21 14:02:39 UTC
README
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::classto 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.