rodrigopedra/laravel-optimus
Composer 安装命令:
composer require rodrigopedra/laravel-optimus
包简介
Laravel wrapper for Optimus
README 文档
README
Bridge to jenssegers/optimus for Laravel.
It handles Route Model Binding to use a hashed id.
Installation
composer require rodrigopedra/laravel-optimus
It will auto-register the ServiceProvider.
Configuration
Run this command to generate your app's secret numbers and add them to you .env:
php artisan optimus:seed
Usage
Add the UsesOptimusKey trait to the models you want to have an Optimus route key.
This trait will handle the custom model binding.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 657
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-21