Download the PHP package spryker/captcha without Composer

On this page you can find all versions of the php package spryker/captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package captcha

Captcha Module

Latest Stable Version Minimum PHP Version

Captcha module provides vendor-agnostic CAPTCHA support: a client that creates and verifies challenges through a wired provider plugin and accepts each solved challenge once, and a CaptchaType form field with a validation constraint and form themes for the Storefront and the Back Office. It owns the CAPTCHA of the five login forms: the expander plugins CustomerLoginFormCaptchaExpanderPlugin, AgentLoginFormCaptchaExpanderPlugin (Yves), UserLoginFormCaptchaExpanderPlugin, MerchantPortalLoginFormCaptchaExpanderPlugin, AgentMerchantPortalLoginFormCaptchaExpanderPlugin (Zed) add the field, and LoginCaptchaEventDispatcherPlugin (Yves, Zed) checks the submission on kernel.request at priority 10, after the login blockers' blocked check (11) and before their counting (9) and the firewall (8), and answers a rejection per form. The Back Office setting security:captcha:login:is_enabled switches the CAPTCHA on or off; it is off by default, so a project turns it on once the CAPTCHA provider is set up. Its constraint CaptchaProviderConfiguredConstraint refuses to turn it on while CaptchaClientInterface::isCaptchaProviderConfigured() returns false: no provider plugin is wired, or the provider reports through CaptchaProviderPluginInterface::isConfigured() that its saved settings are incomplete (for example a missing secret); turning it off is always accepted. The Back Office setting security:captcha:login:mode, shown only while the CAPTCHA is on, selects after_failed_attempts (default, only while a CaptchaRequirementPluginInterface plugin requires it) or always (every login). In after_failed_attempts, the SecurityBlocker step-up plugins decide when a CAPTCHA is required, with the Security Check after Failed Attempts limits on the Back Office tab Configuration → Security → Login Lock (security:login_lock:{customer,user}:challenge_*). A login page render creates no challenge for a provider that implements CaptchaChallengeUrlProviderPluginInterface: CaptchaClientInterface::createChallenge() returns a widget that fetches its challenge from a challenge endpoint (the ALTCHA widget does so when the user ticks its checkbox, one challenge per tick), and CaptchaClientInterface::createChallengeData() creates that challenge behind a rate limit in Redis (Client CaptchaConfig::getChallengeRateLimitPerIp() 30 per context and IP, an IPv6 address per /64 network, in a window of getChallengeRateLimitWindowSeconds() 60). The requests of a context from all IPs only log a warning at getChallengeRateWarningThresholdPerContext() 600 and are never rejected, because a limit for all visitors would let anyone lock them out of the login form; limit a flood from many IPs in the load balancer. The endpoints are GET /captcha/challenge?context=<context> on the Storefront (route captcha-challenge, registered by CaptchaRouteProviderPlugin) and the Back Office (ChallengeController), and GET /captcha/merchant-portal-challenge?context=<context> on the Merchant Portal (MerchantPortalChallengeController); they answer 200 with the JSON challenge, 404 for an unknown context or one of another application, 429 above the rate limit and 503 when no challenge can be created. The Back Office and Merchant Portal endpoints need anonymous access in the project firewall patterns and ACL rules. Each Zed login form of CaptchaConfig::getLoginForms() names its challenge URL and its rejection answer (REJECTION_RESPONSE_TYPE_REDIRECT or REJECTION_RESPONSE_TYPE_ZED_UI); a project adds a login form by overriding the method and appending a CaptchaLoginFormTransfer.

Installation

Documentation

Spryker Documentation


All versions of captcha with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
spryker-shop/agent-page-extension Version ^1.3.0
spryker-shop/customer-page-extension Version ^1.10.0
spryker/captcha-extension Version ^1.0.0
spryker/event-dispatcher-extension Version ^1.0.0
spryker/kernel Version ^3.84.0
spryker/log Version ^3.0.0
spryker/messenger Version ^3.0.0
spryker/redis Version ^2.15.0
spryker/security-gui-extension Version ^1.6.0
spryker/security-merchant-portal-gui-extension Version ^1.6.0
spryker/symfony Version ^3.20.0
spryker/transfer Version ^3.27.0
spryker/zed-ui Version ^4.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package spryker/captcha contains the following files

Loading the files please wait ...