aronlabs/captcha
最新稳定版本:v1.0.6
Composer 安装命令:
composer require aronlabs/captcha
包简介
A customizable and secure Captcha package for Laravel.
README 文档
README
Secure & Customizable CAPTCHA for Laravel
Aron Captcha is a lightweight, secure, and fully customizable CAPTCHA package for Laravel, supporting both text-based and math-based challenges with Ajax refresh and clean Blade integration.
Author & Maintainer
Aron Captcha is developed and maintained by AronSoft.
Website: https://aron-soft.com/landing/aron-captcha
Author: Mojtaba pakdel
Table of Contents (English)
- Requirements
- Installation
- Configuration
- Usage in Blade
- Validation
- Customization
- Ajax Refresh Mechanism
- Contribution
- Security
- License
Requirements
- PHP >= 8.1
- Laravel >= 10
- PHP GD extension enabled
Installation
composer require aronlabs/captcha
Laravel will automatically discover the service provider.
Configuration
php artisan vendor:publish --tag=aronlabs-captcha-config
This will publish the configuration file to:
config/aron-captcha.php
Usage in Blade
<form method="POST"> @csrf @include('aronlabs-captcha::captcha-input') <button type="submit">Submit</button> </form>
Validation
use AronLabs\Captcha\Rules\CaptchaRule; $request->validate([ 'captcha' => ['required', new CaptchaRule], ]);
Customization
Publish Views
php artisan vendor:publish --tag=aronlabs-captcha-views
Publish Fonts
php artisan vendor:publish --tag=aronlabs-captcha-fonts
Ajax Refresh Mechanism
Make sure your main layout contains:
@yield('scripts')
The CAPTCHA view automatically injects required JavaScript.
Contribution
Contributions are welcome!
Feel free to submit issues or pull requests via GitHub.
Security
If you discover a security vulnerability, please report it responsibly:
Email: security@aron-soft.com
Website: https://aron-soft.com
License
This package is open-sourced software licensed under the MIT License.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-16