PHPackages                             phpixie/project-auth - 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. phpixie/project-auth

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

phpixie/project-auth
====================

PHPixie authorization skeleton project

3.2.3(10y ago)4772510[3 issues](https://github.com/PHPixie/Project-Auth/issues)BSDPHP

Since Mar 14Pushed 8y ago4 watchersCompare

[ Source](https://github.com/PHPixie/Project-Auth)[ Packagist](https://packagist.org/packages/phpixie/project-auth)[ RSS](/packages/phpixie-project-auth/feed)WikiDiscussions master Synced 4w ago

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

Auth Project
============

[](#auth-project)

This is a PHPixie project with some advanced user authentication already setup. It serves as a faster starting point making rolling out your own authorization easier.

[![Project Demo](https://camo.githubusercontent.com/7ee4b73dc366f8792c283e9feca18ccceeb0b4bd364f3ac9e4b809d426944c0e/687474703a2f2f692e696d6775722e636f6d2f577a6e636543662e676966)](https://camo.githubusercontent.com/7ee4b73dc366f8792c283e9feca18ccceeb0b4bd364f3ac9e4b809d426944c0e/687474703a2f2f692e696d6775722e636f6d2f577a6e636543662e676966)

There are two separate authentication domains: users and admins, stored in different tables and entirely separated. This means you can login as a user and an admin at the same time. In fact admins can impersonate any user with a press of the button on their dashboard.

To run, first install the project:

```
composer create-project phpixie/project-auth project

```

Then point your web server to the `web/` folder. That's it, now just visit the site and you'll be greeted with a login/signup page. To try out the admin flow visit `/admin/` and login as `phpixie`with password `framework`. You can also add your own admins by calling the `addAdmin.php` script from console:

```
php addAdmin.php someUser somePassword

```

The project uses an SQLite database contained in `database.sqlite`. To recreate the same database in MySQL:

```
CREATE TABLE `users` (
    `id` INTEGER AUTO_INCREMENT PRIMARY KEY,
    `email` VARCHAR(255) NOT NULL UNIQUE ,
    `passwordHash` VARCHAR(255) NOT NULL
);

CREATE TABLE `userTokens` (
  `series` varchar(50) NOT NULL,
  `userId` int(11) DEFAULT NULL,
  `challenge` varchar(50) DEFAULT NULL,
  `expires` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`series`)
);

CREATE TABLE `admins` (
    `id` INTEGER AUTO_INCREMENT PRIMARY KEY,
    `username` VARCHAR(255) NOT NULL UNIQUE ,
    `passwordHash` VARCHAR(255) NOT NULL
);

```

Remember to modify the `assets/config/database.php` file with the new settings.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~1 days

Total

6

Last Release

3753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fd2ee997c779cf774247d3d4cde7d90491484f817032aab6dbc314857973b36?d=identicon)[dracony](/maintainers/dracony)

---

Top Contributors

[![dracony](https://avatars.githubusercontent.com/u/3127080?v=4)](https://github.com/dracony "dracony (11 commits)")[![gglachant](https://avatars.githubusercontent.com/u/1615435?v=4)](https://github.com/gglachant "gglachant (1 commits)")

### Embed Badge

![Health badge](/badges/phpixie-project-auth/health.svg)

```
[![Health](https://phpackages.com/badges/phpixie-project-auth/health.svg)](https://phpackages.com/packages/phpixie-project-auth)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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