SahilDude89ss / laravel-pyntax-rest-api-helper by SahilDude89ss@gmail.com

12
2
2
Package Data
Maintainer Username: SahilDude89ss@gmail.com
Maintainer Contact: SahilDude89ss@gmail.com (Sahil Sharma)
Package Create Date: 2016-03-04
Package Last Update: 2017-09-10
Language: PHP
License: Unknown
Last Refreshed: 2025-02-06 03:01:55
Package Statistics
Total Downloads: 12
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

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

  1. run composer require "pyntax/laravel-pyntax-rest-api-helper":"dev-master"
  2. Add \Pyntax\Providers\PyntaxApiServiceProvider::class to config/app.php under "providers" key.
  3. run php artisan:vendor publish
  4. By default the API route for users is configured.
  5. Add your more of your routes and happy coding.

License

The Pyntax API Helper is open-sourced software licensed under the MIT license.