PHPackages                             enjoys/forms-yandex-smartcaptcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. enjoys/forms-yandex-smartcaptcha

ActiveLibrary

enjoys/forms-yandex-smartcaptcha
================================

Yandex SmartCaptcha for enjoys/forms

1.0.1(10mo ago)00MITPHPPHP ~8.1.0 | ~8.2.0 | ~8.3.0 | ~8.4.0

Since Jun 20Pushed 10mo agoCompare

[ Source](https://github.com/Enjoyzz/forms-yandex-smartcaptcha)[ Packagist](https://packagist.org/packages/enjoys/forms-yandex-smartcaptcha)[ RSS](/packages/enjoys-forms-yandex-smartcaptcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (3)Used By (0)

Yandex SmartCaptcha
===================

[](#yandex-smartcaptcha)

addon for enjoys/forms

Run built-in server for view example
------------------------------------

[](#run-built-in-server-for-view-example)

```
php -S localhost:8000 -t ./example .route
```

### Usage

[](#usage)

```
// ...before code

// Required. Set ID for form.
$form->setAttribute(AttributeFactory::create('id', uniqid()));
// or
new Form(id: uniqid())
// or
$form->setId(uniqid())

// Init YandexSmartCaptcha
$captcha = new YandexSmartCaptcha($Psr18_HttpClient, $Psr7RequestFactory, $Psr7StreamFactory);
$captcha
    //
    ->setPublicKey('...')
    ->setPrivateKey('...')
    ->setWidgetOptions(
        // Optional. Full options
        new WidgetOptions(
            hl: Language::RU, // Language enum or as string 'en' or null (default - null)
            callback: 'myCallback', // string or null (default - null)
            invisible: false, // bool or null (default - null)
            shieldPosition: ShieldPosition::CENTER_LEFT, // only with invisible. ShieldPosition enum or string or null  (default - null)
            hideShield: false,  // only with invisible. bool or null (default - null)
            webview: false, //bool or null (default - null)
            test: true // bool or null (default - null)
        )
    );
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

323d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25447823?v=4)[enjoys](/maintainers/enjoys)[@enjoys](https://github.com/enjoys)

---

Top Contributors

[![Enjoyzz](https://avatars.githubusercontent.com/u/1448659?v=4)](https://github.com/Enjoyzz "Enjoyzz (12 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/enjoys-forms-yandex-smartcaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/enjoys-forms-yandex-smartcaptcha/health.svg)](https://phpackages.com/packages/enjoys-forms-yandex-smartcaptcha)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M64](/packages/opensearch-project-opensearch-php)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M340](/packages/drupal-core-recommended)[kbsali/redmine-api

Redmine API client

4221.1M24](/packages/kbsali-redmine-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
