PHPackages                             fm-labs/cakephp-user - 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. fm-labs/cakephp-user

ActiveCakephp-plugin[Authentication &amp; Authorization](/categories/authentication)

fm-labs/cakephp-user
====================

User plugin for CakePHP

5.0.7(8mo ago)125811MITPHPPHP &gt;=8.2

Since May 25Pushed 8mo ago3 watchersCompare

[ Source](https://github.com/fm-labs/cakephp-user)[ Packagist](https://packagist.org/packages/fm-labs/cakephp-user)[ Docs](https://github.com/fm-labs/cakephp-user)[ RSS](/packages/fm-labs-cakephp-user/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (35)Used By (1)

User plugin for CakePHP
=======================

[](#user-plugin-for-cakephp)

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require fm-labs/cakephp-user

#For CakePHP 4.x:
composer require fm-labs/cakephp-user:^4

```

### Run migrations

[](#run-migrations)

```
$ ./bin/cake migrations migrate --plugin User
```

Features
--------

[](#features)

- User Login (requires cakephp/authentication)
- User Signup
- User Signup with group password (User requires a password for registration)
- User Email verification
- User Password reset
- User Password forgotten (sends a reset link to user)
- User Password change
- User Password policy (force strong passwords)
- Email Domain black-/whitelisting
- Email-address-as-Username
- Email templates (supports localized email templates)
- Email mailer
- Basic Auth protection (login failure counter)
- Logging of authentication events
- Two-factor-authentication with Google Authenticator (One-Time-Password)
- GoogleRecaptcha support in login- and registration forms
- AuthComponent for handling common auth tasks
- User Login History (Auth provider, IP, Device, Geo)
- User Login Security
    - Trusted devices
    - GeoBlocking
    - TwoFactorAuth

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

[](#configuration)

KeyDefaultOverrideable by SettingsUser.layoutnullyesUser.EventLogger.enabledfalseyesUser.Mailer.enabledfalseyesUser.Mailer.classNamenullnoUser.Login.layoutnullyesUser.Login.disabledfalseyesUser.Signup.groupAuthfalseyesUser.Signup.disabledfalseyesUser.Signup.verifyEmailfalseyesUser.Signup.disableEmailVerificationfalseyesUser.Signup.formClassnullnoUser.Mailer.profile''noUser.Blacklist\[\]noUser.Recaptcha.enabledfalseyesGoogleAuthenticator.issuer''noGoogleRecaptcha.secretKeyfalsenoSession.timeout?no

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance60

Regular maintenance activity

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 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.

###  Release Activity

Cadence

Every ~117 days

Recently: every ~25 days

Total

33

Last Release

256d ago

Major Versions

0.8.1 → 4.0.12024-07-28

0.8.2 → 5.0.02025-05-15

PHP version history (6 changes)v0.2PHP &gt;=5.4

0.4.0PHP &gt;=5.5.9

0.5.0PHP &gt;=7.2

0.7.0PHP &gt;=7.4

0.7.3PHP &gt;=8.0

5.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2943299645214d8385310bf392bb94815a9cdea6e01f1b1aada4ce1d257fb291?d=identicon)[fm-labs](/maintainers/fm-labs)

---

Top Contributors

[![fm-labs](https://avatars.githubusercontent.com/u/5556440?v=4)](https://github.com/fm-labs "fm-labs (304 commits)")

---

Tags

Authenticationcakephpuser

### Embed Badge

![Health badge](/badges/fm-labs-cakephp-user/health.svg)

```
[![Health](https://phpackages.com/badges/fm-labs-cakephp-user/health.svg)](https://phpackages.com/packages/fm-labs-cakephp-user)
```

###  Alternatives

[cakedc/users

Users Plugin for CakePHP

524897.0k16](/packages/cakedc-users)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

129228.6k10](/packages/dereuromark-cakephp-tinyauth)[admad/cakephp-jwt-auth

CakePHP plugin for authenticating using JSON Web Tokens

160680.3k8](/packages/admad-cakephp-jwt-auth)[cakedc/auth

Auth objects for CakePHP

31630.0k2](/packages/cakedc-auth)[beskhue/cookietokenauth

Remember CakePHP user authentications with token cookies.

142.3k](/packages/beskhue-cookietokenauth)

PHPackages © 2026

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