PHPackages                             sergiors/recaptcha-service-provider - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sergiors/recaptcha-service-provider

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sergiors/recaptcha-service-provider
===================================

ReCaptcha for Silex

34875PHP

Since Nov 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sergiors/recaptcha-service-provider)[ Packagist](https://packagist.org/packages/sergiors/recaptcha-service-provider)[ RSS](/packages/sergiors-recaptcha-service-provider/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Recaptcha Service Provider
--------------------------

[](#recaptcha-service-provider)

Register your site in [Google reCAPTCHA](www.google.com/recaptcha/)

Install
-------

[](#install)

```
composer require sergiors/recaptcha-service-provider "dev-master"
```

```
use Silex\Provider\FormServiceProvider;
use Silex\Provider\ValidatorServiceProvider;
use Silex\Provider\TwigServiceProvider;
use Sergiors\Silex\Provider\RecaptchaServiceProvider;

$app->register(new FormServiceProvider());
$app->register(new ValidatorServiceProvider());
$app->register(new TwigServiceProvider());
$app->register(new RecaptchaServiceProvider(), [
    'recaptcha.sitekey' => '',
    'recaptcha.secretkey' => '',
]);
```

#### Form

[](#form)

[More details how to use form](http://silex.sensiolabs.org/doc/master/providers/form.html)

```
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Sergiors\Silex\Form\Type\RecaptchaType;
use Sergiors\Silex\Validator\Constraints\Recaptcha;

$form = $app['form.factory']->createBuilder(FormType::class, [])
    ->add('recaptcha', RecaptchaType::class, [
        'constraints' => [
            new Recaptcha()
        ]
    ])
    ->getForm();
```

#### In your template

[](#in-your-template)

```
{{ form_widget(form.recaptcha) }}
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/75b67763139f7a8c96302299f5a40a386d565829af3061bb55465c8808d54428?d=identicon)[sergiors](/maintainers/sergiors)

---

Top Contributors

[![sergiors](https://avatars.githubusercontent.com/u/2046276?v=4)](https://github.com/sergiors "sergiors (3 commits)")

### Embed Badge

![Health badge](/badges/sergiors-recaptcha-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/sergiors-recaptcha-service-provider/health.svg)](https://phpackages.com/packages/sergiors-recaptcha-service-provider)
```

###  Alternatives

[meklis/switcher-core

SNMP switcher core module

181.6k](/packages/meklis-switcher-core)

PHPackages © 2026

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