nycorp/lite-api
最新稳定版本:1.1.48
Composer 安装命令:
composer require nycorp/lite-api
包简介
The skeleton application for the Laravel framework.
README 文档
README
- Log into database and into micro-service
- Swagger documentation using darkaonline/l5-swagger
- Service discovery using dcarbone/php-consul-api
- Jwt auth using tymon/jwt-auth
- SQL to migration using bennett-treptow/laravel-migration-generator
- SQL to model using reliese/laravel
Installation (with Composer)
composer require nycorp/lite-api
Usage
php artisan vendor:publish --provider="Nycorp\LiteApi\Providers\LiteApiServiceProvider"
Logging :
Enable logger to call your remote logger service or log in app database
the default value is false
LOG_REMOTE=false
To enable log service in .env
LOG_CHANNEL=stack LOG_STACK=daily,service_log LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug
use the logger provide by Laravel as usual
Log::info("Delete: started {$this->modelLogger($id)} ");
统计信息
- 总下载量: 251
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-19