nirandas/laravel-gatekeeper
最新稳定版本:v1.0.3
Composer 安装命令:
composer require nirandas/laravel-gatekeeper
包简介
Integrate Gatekeeper from webforms.online with your Laravel app
README 文档
README
composer require nirandas/laravel-gatekeeper
Usage
In your form validation rules add:
$request->validate([
//...
'gatekeeper_session_key' => ['required', \Nirandas\LaravelGatekeeper\Verifier::rule('Gatekeepre validation failed')],
]);
Add 2 entries in the .env file
GATEKEEPER_CLIENT_ID = "your client id"
GATEKEEPER_CLIENT_SECRET = "your gatekeeper secret"
The argument to LaravelGatekeeper::rule() is optional and is the error message to use if the validation failed.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2023-04-11