laminas / laminas-captcha

Generate and validate CAPTCHAs using Figlets, images, ReCaptcha, and more
https://docs.laminas.dev/laminas-captcha/
BSD 3-Clause "New" or "Revised" License
24 stars 13 forks source link

The "require" section must be updated #18

Closed sergiy-v closed 2 years ago

sergiy-v commented 2 years ago

Bug Report

Q A
Version(s) 2.11.0

Summary

Not possible to use the 'laminas-captcha' without adding extra Composer requirements:

The mentioned (or even more) dependencies should be moved from the 'require-dev' to 'require' section to fix the issues.

Current behavior

Errors with basic use case example.

  1. Class 'Laminas\Validator\AbstractValidator' not found The laminas/laminas-validator is required, see #16 issue for more details.
  2. After adding the laminas/laminas-validator package: Class 'Laminas\Text\Figlet\Figlet' not found The laminas/laminas-text is required.
  3. After laminas/laminas-text package: Class Laminas\Session\Container not found The laminas/laminas-session is required.

How to reproduce

Installation the package. Check basic use case example.

Expected behavior

The basic use case example works fine.