sonphfs / ezapi
该包最新版本(dev-master)没有提供许可证信息。
使用包创建简单的API
dev-master
2019-04-23 06:35 UTC
This package is auto-updated.
Last update: 2024-09-23 18:31:41 UTC
README
Laravel 包提供 ezapi =)))
安装
要安装 ezapi,只需
$composer require "sonphfs/ezapi"
设置
在 providers
数组中添加新行
Sonphfs\Ezapi\EzApiServiceProvider::class,
运行
php artisan migrate
运行
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