infinity-next / brennan-captcha
This package is abandoned and no longer maintained.
The author suggests using the infinity-next/laravel-captcha package instead.
An anti-bot image captcha system written by Frederick Brennan and ported to Laravel for Infinity Next by Joshua Moon.
1.4.0
2016-01-19 00:53 UTC
Requires
- php: >=5.4.0
- ext-gd: *
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