bakeoff/checkpoint
Composer 安装命令:
composer require bakeoff/checkpoint
包简介
Simple CakePHP anti-bot challenge
关键字:
README 文档
README
Add config/Bakeoff/Checkpoint.php to your main application.
- Set
enabletotrue. - Set
routesto array containing routes you need. Each route here contains the usual CakePHP route elements. - Set
adapterto use a custom adapter.
Example:
<?php
return [
'Bakeoff/Checkpoint' => [ // Must match the name of this plugin
'enable' => true,
// Matching on all routes
'routes' => true,
// Matching on specific routes
'routes' => [
// Enable for specific plugin
['plugin' => 'MyPlugin'],
// Enable for specific route params
['prefix' => 'foo', 'controller' => 'bar', 'action' => 'qux'],
// Enable for specific route by name
['_name' => 'MyPlugin:Articles:View'],
],
// Leave empty to use default adapter
'adapter' => null,
// Use specific class as adapter
'adapter' => '\My\Namespace\Controller\CustomAdapterController',
],
];
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-07-01