Download the PHP package gourabsutradhar/secureimage without Composer
On this page you can find all versions of the php package gourabsutradhar/secureimage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gourabsutradhar/secureimage
More information about gourabsutradhar/secureimage
Files in gourabsutradhar/secureimage
Package secureimage
Short Description A simple captcha package for laravel
License MIT
Informations about the package secureimage
A captcha for laravel framework.
Setup
Require this package with composer:
To use your own settings, publish config using the command
Add Gourabsutradhar\SecureImage\SecireImageServiceProvoder
to config\app.php
file.
Web route
Show a captcha
use the secureimage_base64()
to show an image.it returns base 64 string of image.
Verify it
here is example code to verify a image in web route
API
Show a captcha
Api route [path : api/secureimage, name : secureimage.api] returns json data with 2 key named 'image' and 'key'. the 'image' key is base64 string representation of the image and 'key' is key of image. Save the 'key' value to verify it. send user typed code and the 'key' value to your server. here is example verification code.
All versions of secureimage with dependencies
ext-gd Version *
illuminate/config Version ~5|^6|^7|^8|^9|^10|^11
illuminate/support Version ~5|^6|^7|^8|^9|^10|^11
illuminate/hashing Version ~5|^6|^7|^8|^9|^10|^11
illuminate/session Version ~5|^6|^7|^8|^9|^10|^11