Skip to content

nirandas/laravel-gatekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

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.

About

Laravel integration for gatekeeper https://webforms.online

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages