infinity-next / laravel-captcha
An anti-bot image captcha system written for Laravel.
2.1.1
2020-04-24 13:37 UTC
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: 2024-11-29 23:41:36 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
capatcha
option for the Laravel validators. captcha()
helper for quickly popping in a new captcha.- Routing
- Includes configurable base route (
captcha
can instead beassets/security-image
, for instance) - Simple routes for generating a brand new captcha (
captcha
will 302 to a new image) - Accepts routing for profiles (
captcha/default
302s to a new image using thedefault
profile)
- Includes configurable base route (
- JSON API
- Accessing any route with the
.json
suffix 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