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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib