Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Captcha Laravel Package

mydaniel/laravel-captcha

View on GitHub
Deep Wiki
Context7
v2.0.0

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.0.0] - 2026-07-12

Added

  • Complete test suite containing 17 unit and feature tests covering core captcha logic, math and text generators, validation rules, and Intervention Image generation.
  • Added phpunit.xml for package test execution.
  • Added .gitignore to prevent tracking vendor/, composer.lock, and PHPUnit cache.
  • Full compatibility with Laravel 13 (illuminate/* versions ^13.0).

Changed

  • Proper Rewrite: Rewrote all classes to use PHP 8.2+ features, including declare(strict_types=1);, native type hints, parameter/return type declarations, and constructor property promotion.
  • Performance Optimization: Replaced the extremely slow bcrypt hashing (Hash::make()) of the plain captcha answer for session identifiers with a fast, secure, cryptographically random token (Str::random(40)).
  • Swapped deprecated rand() and mt_rand() functions for secure random_int().
  • Updated intervention/image dependency constraints in composer.json to ^3.0.

Fixed

  • Fixed array mapping syntax bug in CaptchaServiceProvider.php where a comma was used instead of => inside the publishes configuration array.
v1.0.1

This patch release introduces an important fix to improve the robustness and error handling of the Captcha validation rule.

Fixed

  • Graceful handling of null captcha keys: The MyDaniel\Captcha\Rules\Captcha validation rule has been updated to prevent a TypeError when the captcha_key is missing from the request. The rule now correctly handles null values and fails the validation gracefully, returning a proper validation message instead of a server error.
v1.0.0

🎉 We are thrilled to announce the first stable release of the Advanced Laravel Captcha package! 🎉

This release marks the debut of a modern, secure, and highly customizable captcha solution built from the ground up with SOLID principles. It's designed to seamlessly integrate into your Laravel applications and protect your forms from bots.

Full Changelog: https://github.com/daniyousefifar/laravel-captcha/commits/v1.0.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata