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.
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