PHPackages                             neuweb/idauth - 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. neuweb/idauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

neuweb/idauth
=============

Zend Framework 2 Content Management System Auth Module, can be run independent of zcms

025PHP

Since Apr 1Pushed 12y ago1 watchersCompare

[ Source](https://github.com/neuweb/IdAuth)[ Packagist](https://packagist.org/packages/neuweb/idauth)[ RSS](/packages/neuweb-idauth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/c2a29b45d2badca3fb8be8a8235051f885da11dc942e487caf8f17036931000e/68747470733a2f2f7472617669732d63692e6f72672f6e65757765622f4964417574682e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/neuweb/IdAuth)[![Latest Stable Version](https://camo.githubusercontent.com/f018a78f6918ee54847421e240b3c5e817524b005fc4c2b157e8e831333cb9b9/68747470733a2f2f706f7365722e707567782e6f72672f6e65757765622f4964417574682f762f737461626c652e706e67)](https://packagist.org/packages/neuweb/IdAuth)[![Coverage Status](https://camo.githubusercontent.com/b7543a8436978b16f0af72252dea4173c7f1410b0c594e592bc45258e84a7bbe/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6e65757765622f4964417574682f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/neuweb/IdAuth?branch=master)

PSR-2 Certified with build pass
===============================

[](#psr-2-certified-with-build-pass)

WIP
===

[](#wip)

The module now functional but needs a lot of work and unit tests. Getting the module working on your own may take quite a lot of work as I haven't had time to add proper documentation on how to configure the module yet. I'm working on completing the documentation once the vision of the module is more or less implemented in the code.

Please note the 100% coverage indicator is currently not accurate as it only has one test file with 100% coverage :)

IdAuth
======

[](#idauth)

IdAuth is designed to be a multi provider identity and authentication system. Where as most modules that are currently available only allow single authentication systems the aim is to provide, access to many different authentication systems including Facebook / Github etc as additional providers.

Installation
============

[](#installation)

To install this module you can use composer with the following command:

```
    php composer.phar require nitecon/idauth:dev-master
```

Please note that this module **REQUIRES** doctrine to work, and also provides fixtures to import the initial user account into your database. Steps to enable this module include the following:

1. Install the module as per composer line above
2. Add the following modules to your application.config.php

 ```
    return array(
    'modules' => array(
    'DoctrineModule',
    'DoctrineORMModule',
    'DoctrineDataFixtureModule',
    'IdAuth',
    // ... Rest of your modules
    );

```

3. Configure your doctrine connection driver like (Generally in `config/autoload/global.php` but please make sure never to store your passwords in the global file, they should be stored in `config/autoload/global.php` instead:

 ```
    return array(
    'doctrine' => array(
        'connection' => array(
            // default connection name
            'orm_default' => array(
                'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
                'params' => array(
                    'host' => 'localhost',
                    'port' => '3306',
                    'user' => 'testuser',
                    'password' => 'testpass',
                    'dbname' => 'testdatabase',
                )
            )
        )
    ),
    // More of your global configurations
    );

```

4. Copy the configuration file to your autoload directory with:

 ```
    cp ./vendor/nitecon/idauth/config/idauth.global.php.dist config/autoload/idauth.global.php

```

Feel free to edit the file with additional changes. 5. Install the database with the following command from your project root:

 ```
    ./vendor/bin/doctrine-module orm:schema-tool:create

```

With fixtures module active it should install the admin user to your database at this point. If you do not see the admin user listed in the database then you may need to run the importer manually with:

```
    ./vendor/bin/doctrine-module data-fixture:import
```

At this point you should be installed and ready to go. You can already attempt a log in with the default admin user `admin` and password `Tru5tme`

To log into the application point your browser to /user/login

Objectives of this module
=========================

[](#objectives-of-this-module)

1. Provide User Authentication with multiple providers at the same time
2. Provide multiple independent identity providers active at the same time
3. Allow plugin based authentication (eg: Facebook) - Only takes 2 classes currently to create a plugin
4. Native LDAP provider plugin for identity &amp; authorization
5. Native Zend TableAdapter provider plugin for identity &amp; authorization
6. Native Doctrine provider plugin for identity &amp; authorization
7. Role based authentication readily available by adding on ZfcRbac
8. Collector module to show specific details on current user including currently signed in provider
9. Allow password reset independently of each provider
10. Allow updates to identity's on providers in an independent nature.
11. Add dedicated storage for all providers (Default: Zend\\Authentication\\Storage\\Session)
12. Fall through authentication between all providers until a valid authentication attempt is found.
13. Direct access to authentication provider by specifying the provider.
14. Native roles array to allow for easy expansion to ZfcRbac
15. Native Authentication Service that can be added communicated with directly and added to ZfcRbac.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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/41178212476488fd2bf9164bebb3b66655442f64c746a4b11dc9fa0cc822215d?d=identicon)[Nitecon](/maintainers/Nitecon)

---

Top Contributors

[![nitecon](https://avatars.githubusercontent.com/u/665977?v=4)](https://github.com/nitecon "nitecon (9 commits)")

### Embed Badge

![Health badge](/badges/neuweb-idauth/health.svg)

```
[![Health](https://phpackages.com/badges/neuweb-idauth/health.svg)](https://phpackages.com/packages/neuweb-idauth)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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