Weave 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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource