Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "require" section must be updated #18

Closed
sergiy-v opened this issue Mar 11, 2022 · 0 comments · Fixed by #20
Closed

The "require" section must be updated #18

sergiy-v opened this issue Mar 11, 2022 · 0 comments · Fixed by #20
Labels
Bug Something isn't working
Milestone

Comments

@sergiy-v
Copy link
Contributor

sergiy-v commented Mar 11, 2022

Bug Report

Q A
Version(s) 2.11.0

Summary

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

  • laminas/laminas-recaptcha
  • laminas/laminas-session
  • laminas/laminas-text
  • laminas/laminas-validator

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.

@sergiy-v sergiy-v added the Bug Something isn't working label Mar 11, 2022
@Ocramius Ocramius added this to the 2.12.0 milestone Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
2 participants