infinity-next / laravel-captcha
An anti-bot image captcha system written for Laravel.
Installs: 990
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 4
pkg:composer/infinity-next/laravel-captcha
Requires
- php: >=7.2.5
 - ext-gd: *
 - laravel/framework: ^6.0|^7.0
 
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0
 - phpunit/phpunit: ^8.5
 
This package is auto-updated.
Last update: 2025-01-29 23:57:46 UTC
README
The core features are:
- Stores captcha codes in the database automatically.
 - Generates a migration file for building the database table (config option for table name).
 - Built in 
capatchaoption for the Laravel validators. captcha()helper for quickly popping in a new captcha.- Routing
- Includes configurable base route (
captchacan instead beassets/security-image, for instance) - Simple routes for generating a brand new captcha (
captchawill 302 to a new image) - Accepts routing for profiles (
captcha/default302s to a new image using thedefaultprofile) 
 - Includes configurable base route (
 - JSON API
- Accessing any route with the 
.jsonsuffix will return identifying information about your captcha. Helps with click-to-reload features. 
 - Accessing any route with the 
 - Configurable global settings.
- Fonts and their outline stroke width.
 - Captcha expiry time.
 
 - Profiles for different fonts, text colors, and canvas colors.
- Profile option for characters accepted (letters and numbers, customizing the alphabet used).
 - Profile option for canvas color.
 - Profile option for canvas size.
 - Profile option for character count.
 - Profile option for width and height.
 - Profile option for text colors.
 - Profile option for sine wave.
 - Profile option for maximum number of "flourishes", or arcs and lines to draw.
 - Set fonts unique to each profile.
 
 
Copyright
Copyright 2015 Fredrick Brennan admin@8chan.co
Released under AGPLv3
