Download the PHP package hpd/captcha without Composer
On this page you can find all versions of the php package hpd/captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package captcha
Short Description Laravel Captcha Code Package
License MIT
Homepage https://github.com/hamid-hpd/captcha.git
Informations about the package captcha
Captcha for Laravel
Preview
- Captcha for Laravel 8/9/10/11/12
- Preview
- Installation
- Usage
- Configuration
- Properties:
- How to Use
- Desired Configuration
- Examples
- Validation
- Session Mode:
- Stateless Mode:
- License
- Donate
- Other Proiects
Installation
To install this package, use Composer:
Usage
There is no need to add CaptchaServiceProvider to the providers array in config/app.php.
Configuration
To use your own settings, first publish the config/config.php file. Then, customize the configuration properties as needed.
Properties
The following properties can be customized in the published config.php file.
How to use
You can use the following helper functions in your project to get a Captcha image
Use desired configuration
Example
To get the Captcha image source:
To get the image HTML element:
Validation
Session Mode:
Stateless Mode:
You can get the image and code from this URL:
http://[yourdomain.com]/captcha/api/default
It returns:
To validate the Captcha, send the 'code' to the validator. Set the config type to match the one previously selected:
License
This project is licensed under the Proprietary License.
Donate
If you like this project and want to support it, feel free to send USDT donations to the addresses below. Thank you! 🙏
Network | Address | |
---|---|---|
0x2bFcEcCF2f25d48CbdC05a9d55A46262a0A6E542 |
||
TEHzXzg4nMp7MW5pVH6fGmuq7JBaFovMW3 |
Your support allows me to continue maintaining and improving this project. Thank you so much for your contribution! 🙏
Check Out My Other Projects
Hey! If you liked this package, you might enjoy some of my other work too:
- Validatify – A PHP input validation library.
- jQuery Confirmation Dialog – Customizable jQuery Confirmation Dialog Plugin with RTL and Theming Support
I'm always building and sharing new stuff — feel free to take a look, star ⭐ what you like, or even open a PR!