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
2.0.0

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.
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle