PHPackages                             helllomatt/aspen-user-api - 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. helllomatt/aspen-user-api

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

helllomatt/aspen-user-api
=========================

API module for the ASPEN framework to manage users and authentication.

1.0(9y ago)028MITPHPPHP &gt;=5.6.0

Since Feb 9Pushed 8y agoCompare

[ Source](https://github.com/helllomatt/aspen-user-api)[ Packagist](https://packagist.org/packages/helllomatt/aspen-user-api)[ RSS](/packages/helllomatt-aspen-user-api/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

ASPEN User API
==============

[](#aspen-user-api)

This is an API used to allow for user management using the ASPEN framework. Users can:

- Register new accounts
- Activate accounts
- Reset passwords via request
- Log in via OAuth2 or Session
- Update information (when logged in)
- Change their password (when logged in)

How to install
--------------

[](#how-to-install)

There's two parts: firstly install the package, secondly set up the database.

Installing the package:

```
composer require helllomatt/aspen-user-api

```

### Setting up the database:

[](#setting-up-the-database)

1. Navigate to the package `.../vendor/helllomatt/aspen-user-api`
2. In the root folder you'll find `db.sql`
3. Import `db.sql` into your database

### Code updates

[](#code-updates)

In your `index.php` file there are two changes that need to be made.

1. Add `session_start()` under `require 'vendor/autoload.php'` (if you plan to use session based auth)
2. Add `vendor/helllomatt/aspen-user-api` to the manager's `load()` array

After that, you're ready to use the API.

Running tests
-------------

[](#running-tests)

Tests require an actual database connection.

Modify the `phpunit.xml` file to reflect your database setup for running tests.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity62

Established project with proven stability

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 ~17 days

Total

6

Last Release

3339d ago

Major Versions

0.4.1 → 1.02017-05-09

### Community

Maintainers

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

---

Tags

apiauthoauth2managementUsersaspen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/helllomatt-aspen-user-api/health.svg)

```
[![Health](https://phpackages.com/badges/helllomatt-aspen-user-api/health.svg)](https://phpackages.com/packages/helllomatt-aspen-user-api)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k143.0M274](/packages/league-oauth2-server)[bshaffer/oauth2-server-httpfoundation-bridge

A bridge to HttpFoundation for oauth2-server-php

512.3M12](/packages/bshaffer-oauth2-server-httpfoundation-bridge)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

261.8M1](/packages/mollie-oauth2-mollie-php)[chervand/yii2-oauth2-server

OAuth 2.0 server for Yii 2.0 with MAC tokens support.

1524.5k1](/packages/chervand-yii2-oauth2-server)

PHPackages © 2026

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