PHPackages                             usetwice/janrain-bundle - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. usetwice/janrain-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

usetwice/janrain-bundle
=======================

Integrates Janrain into Symfony. Fork of https://github.com/evario/JanrainBundle

04451PHP

Since Feb 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/usetwice/JanrainBundle)[ Packagist](https://packagist.org/packages/usetwice/janrain-bundle)[ RSS](/packages/usetwice-janrain-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

**Caution:** This bundles is developed in sync with [symfony's repository](https://github.com/symfony/symfony)

Documentation
-------------

[](#documentation)

The documentation is not yet written.

About
-----

[](#about)

JanrainBundle integrates Janrain into Symfony2 projects. It is very much a work in progress.

TODO
----

[](#todo)

Make it work... Integrate social sharing. Integrate inviting/referring friends.

Configuration
-------------

[](#configuration)

Use FOSUserBundle

```

Fully implement the FOSUserBundle...

Add EvarioJanrainBundle to your vendor/bundles/ dir
---------------------------------------------

::

    [EvarioJanrainBundle]
        git=git://github.com/evario/JanrainBundle.git
        target=/bundles/Evario/JanrainBundle

    Then run bin/vendors install

Add the Evarop namespace to your autoloader
-------------------------------------------

::

    // app/autoload.php
    $loader->registerNamespaces(array(
        'Evario' => __DIR__.'/../vendor/bundles',
        // your other namespaces
    );

Add JanrainBundle to your application kernel
--------------------------------------------

::

    // app/AppKernel.php
    public function registerBundles()
    {
        return array(
            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
            // ...
            new FOS\UserBundle\FOSUserBundle(),
            // ...
            new Evario\JanrainBundle\EvarioJanrainBundle(),
            // ...
        );
    }

Add janrainId string column to user table
-----------------------------------------

Add the provider service
------------------------

::

    services:
        evario.janrain.user:
            class: Evario\JanrainBundle\Security\User\Provider\JanrainProvider
            arguments:
                userManager: "@fos_user.user_manager"
                validator: "@validator"
                apiKey: %evario_janrain.options.api_key%
                container: "@service_container"

Update your security.yml file to use the new user provider
----------------------------------------------------------

::

    factories:
        - "%kernel.root_dir%/../vendor/bundles/Evario/JanrainBundle/Resources/config/security_factories.xml"

    providers:
        evario_janrain:
            id: evario.janrain.user

    firewalls:
        main:
            pattern:      .*
            form_login:
                provider:       evario_janrain
                login_path:     /login
                use_forward:    false
                check_path:     /login_check
                failure_path:   null
            logout:       true
            anonymous:    true

Set the parameters in your config.yml file
------------------------------------------

::

    # app/config/config.yml
    evario_janrain:
        api_key: ~ # your janrain api key

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

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://avatars.githubusercontent.com/u/2527020?v=4)[Markus Heingaertner](/maintainers/usetwice)[@usetwice](https://github.com/usetwice)

---

Top Contributors

[![kampfgnu](https://avatars.githubusercontent.com/u/189602?v=4)](https://github.com/kampfgnu "kampfgnu (2 commits)")

### Embed Badge

![Health badge](/badges/usetwice-janrain-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/usetwice-janrain-bundle/health.svg)](https://phpackages.com/packages/usetwice-janrain-bundle)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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