throttle:Laravel 的速率限制器和使用跟踪器

时间:2021-06-01 21:04:40
【文件属性】:
文件名称:throttle:Laravel 的速率限制器和使用跟踪器
文件大小:49KB
文件格式:ZIP
更新时间:2021-06-01 21:04:40
PHP 风门 Throttle 允许您保持计划和功能之间的集成。 安装 要安装该软件包,请在 composer.json 中包含以下内容。 "owlgrin/throttle": "dev-master" 然后在您的 app.php 中包含以下服务提供者。 'Owlgrin\Throttle\ThrottleServiceProvider' 最后,发布配置。 php artisan config:publish owlgrin/throttle 用法 在您的工匠中编写此命令以创建迁移 throttle:table 现在将所有表迁移到您的 mysql 数据库 php artisan migrate 新计划的进入 是时候使用 Owlgrin\Plan\PlanRepo 的 add 函数创建一个新计划了 计划的格式如下 $plan = { "plan":{ "name"
【文件预览】:
throttle-master
----.gitignore(46B)
----src()
--------lang()
--------stubs()
--------config()
--------Owlgrin()
----.travis.yml(197B)
----composer.json(675B)
----README.md(2KB)
----phpunit.xml(570B)
----tests()
--------.gitkeep(0B)

网友评论