PHPackages                             aurmil/slim3-skeleton-users - 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. aurmil/slim3-skeleton-users

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

aurmil/slim3-skeleton-users
===========================

A Slim Framework 3 application skeleton with users authentication through Sentinel

2112PHP

Since Jan 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/aurmil/slim3-skeleton-users)[ Packagist](https://packagist.org/packages/aurmil/slim3-skeleton-users)[ RSS](/packages/aurmil-slim3-skeleton-users/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

⚠️ **WORK IN PROGRESS** 🚧

Slim 3 Skeleton with users authentication
=========================================

[](#slim-3-skeleton-with-users-authentication)

What's included?
----------------

[](#whats-included)

- My own [Slim 3 app skeleton](https://github.com/aurmil/slim3-skeleton)
- [Cartalyst Sentinel v2](https://github.com/cartalyst/sentinel) + [illuminate/database v5](https://github.com/illuminate/database) + [illuminate/events v5](https://github.com/illuminate/events) + [symfony/http-foundation v3](https://github.com/symfony/http-foundation)
- [Respect Validation v1](https://github.com/respect/validation) + [egulias/email-validator v2](https://github.com/egulias/EmailValidator)

Installation and usage
----------------------

[](#installation-and-usage)

I invite you to read first the short documentation I wrote for my [app skeleton](https://github.com/aurmil/slim3-skeleton).

Required: PHP 7 and [Composer](https://getcomposer.org/doc/00-intro.md)

Run the following command, replacing `[your-project-name]` with the name of the folder you want to create.

```
composer create-project aurmil/slim3-skeleton-users [your-project-name]
```

`.htaccess` file, Web server choice, virtual host, `AllowOverride All`, `var` folder permissions... please refer to the main documentation.

Database:

- Create a MySQL database, a user with permissions on it and put these informations in `db.yaml` configuration file
- Execute the correct MySQL schema creation file that is in the `vendor/cartalyst/sentinel/schema` according to your MySQL version
- Execute the SQL files that are in the `sql` folder

SwiftMailer and emails
----------------------

[](#swiftmailer-and-emails)

Unlike in the main app skeleton, SwiftMailer usage is required and must be configured in `swiftmailer.yaml` configuration file.

Emails sent to users for account activation when creating a new account (if this option is active) or for password reset are HTML emails. HTML content of these emails is in `templates/emails` folder.

Users authentication
--------------------

[](#users-authentication)

In `security.yaml` configuration file, you can enable or disable 2 options:

- "remember me" checkbox on login form
- email confirmation sending when creating a new account

Users access to routes is controlled by middlewares `AllowOnlyGuests` and `AllowOnlyLoggedUsers` applied to routes in `routes.php`.

To do
-----

[](#to-do)

- Unit tests (need help on this)
    - See [this question](https://github.com/cartalyst/sentinel/issues/46)
- Password guidelines (length, strength, ...) =&gt; only length ? mb\_strlen
    - Must be configurable
    - Use on signup, reset-password and change-password
    - See [this repo](https://github.com/ircmaxell/password-policy) or [this one](https://github.com/joshralph93/password-policy)
    - JS:
- UUID
    - Add UUID to users
    - Use them in URL like activate account and reset password
    - See [this issue](https://github.com/cartalyst/sentinel/issues/289) and [the wiki](https://github.com/cartalyst/sentinel/wiki/Extending-Sentinel)
- Back office
    - admin group, admin users
    - allow admin users to log in and manage groups + users
    - possible to log in on front office and back office separately at the same time?

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/aurmil/slim3-skeleton-users/blob/master/LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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/a3ce2ed55255951dbc4e8306e4d3bc481e8b890458f5786ca9ecb3245e10cba1?d=identicon)[aurmil](/maintainers/aurmil)

---

Top Contributors

[![aurmil](https://avatars.githubusercontent.com/u/1309545?v=4)](https://github.com/aurmil "aurmil (10 commits)")

### Embed Badge

![Health badge](/badges/aurmil-slim3-skeleton-users/health.svg)

```
[![Health](https://phpackages.com/badges/aurmil-slim3-skeleton-users/health.svg)](https://phpackages.com/packages/aurmil-slim3-skeleton-users)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)[better-futures-studio/filament-local-logins

This is my package filament-local-logins

1334.6k](/packages/better-futures-studio-filament-local-logins)

PHPackages © 2026

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