Download the PHP package amstaffix/silex-captcha without Composer
On this page you can find all versions of the php package amstaffix/silex-captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download amstaffix/silex-captcha
More information about amstaffix/silex-captcha
Files in amstaffix/silex-captcha
Download amstaffix/silex-captcha
More information about amstaffix/silex-captcha
Files in amstaffix/silex-captcha
Vendor amstaffix
Package silex-captcha
Short Description Gregwar/Captcha service provider for Silex.
License MIT
Package silex-captcha
Short Description Gregwar/Captcha service provider for Silex.
License MIT
Please rate this library. Is it a good library?
Informations about the package silex-captcha
CaptchaServiceProvider
Gregwar/Captcha service provider for Silex
Requirements
- PHP >= 5.3.3
SessionServiceProvider
UrlGeneratorServiceProvider
(Optional)
Usage
Options
Key | Default | Type | Description |
---|---|---|---|
session_key | gw_captcha | string | Name of the session key |
route_name | gregwar.captcha | string | Name of the route |
phrase_builder | null | null or Gregwar\Captcha\CaptchaBuilderInterface | Phrase builder (will be used if phrase is null) |
phrase | null | string or null | Overrides the phrase |
width | 150 | int | Image width in the pixels |
height | 40 | int | Image height in the pixels |
font | null | string or null | Path to the font |
fingerprint | null | boolean | I don't know what it does, see sources |
quality | 90 | int | Image quality |
distortion | true | boolean | Enable or disable the distortion |
background | null | null or array(r, g, b) | Force background color (this will disable many effects and is not recommended) |
interpolation | true | boolean | Enable or disable the interpolation, disabling it will be quicker but the images will look uglier |
captcha.builder
- Instance ofGregwar\Captcha\CaptchaBuilder
.captcha.test
- Performs check user input. (Instance of the\Closure
)captcha.image_url
- Returns absolute URL to the image. (Instance of the\Closure
)
Tests
Changelog
1.0.1 [31.08.2014]
- Added unit tests
- PSR-4 autoloading
- Other small changes
1.0.0 [02.01.2014]
- First release
Contributing
- Fork it
- Create your feature branch (git checkout -b awesome-feature)
- Make your changes
- Write/update tests, if necessary
- Update README.md, if necessary
- Push your branch to origin (git push origin awesome-feature)
- Send pull request
- ???
- PROFIT!!!
Do not forget merge upstream changes:
git remote add upstream https://github.com/AmsTaFFix/silex-captcha
git checkout master
git pull upstream
git push origin master
Now you can to remove your branch:
git branch -d awesome-feature
git push origin :awesome-feature
LICENSE
The MIT LICENSE (MIT)
All versions of silex-captcha with dependencies
PHP Build Version
Package Version
The package amstaffix/silex-captcha contains the following files
Loading the files please wait ....