sonphfs/ezapi

There is no license information available for the latest version (dev-master) of this package.

create simple api with package

dev-master 2019-04-23 06:35 UTC

This package is auto-updated.

Last update: 2025-05-23 20:04:07 UTC


README

Laravel package provide ezapi =)))

Installation

To install ezapi , simply

$composer require "sonphfs/ezapi"

Setting

Add a new line to the providers array:

Sonphfs\Ezapi\EzApiServiceProvider::class,

Run:

php artisan migrate

Run:

php artisan db:seed

API

  • GET /api/v1/articles
  • GET /api/v1/articles/2
  • POST /api/v1/articles/
  • POST /api/v1/articles/2
  • DELETE /api/v1/articles/2