nirandas/laravel-gatekeeper

Integrate Gatekeeper from webforms.online with your Laravel app

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/nirandas/laravel-gatekeeper

v1.0.3 2025-01-03 08:05 UTC

This package is not auto-updated.

Last update: 2025-12-17 18:30:42 UTC


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.