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

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

kicaj/auth
==========

CakePHP completly Auth plugin with simple authentication and authorization

0201PHP

Since Oct 27Pushed 4y agoCompare

[ Source](https://github.com/kicaj/auth)[ Packagist](https://packagist.org/packages/kicaj/auth)[ RSS](/packages/kicaj-auth/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Auth plugin for CakePHP
=======================

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

**NOTE:** It's still in development mode, do not use in production yet!

Requirements
------------

[](#requirements)

It is developed for CakePHP min. 4.3.

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

[](#installation)

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

The recommended way to install composer packages is:

```
composer require kicaj/auth dev-master

```

Load the Plugin
---------------

[](#load-the-plugin)

Load the Plugin in your bootstrap.php or /src/Application.php:

```
$this->addPlugin('Auth');

```

### Load the Component

[](#load-the-component)

Load the Component in your AppController.php:

```
public function initialize()
{
    parent::initialize();

    // ...
    $this->loadComponent('Auth.Authentication');
    // ...
}

```

### Configuration

[](#configuration)

Nextly, you should set authorization action list for each controller by `auth` property, like below:

```
public $auth = [
    'admin' => [
        'add',
        'edit',
        'delete',
    ],
    '*' => [
        'view'
    ],
];

```

### Load default data

[](#load-default-data)

If you want load default user and group data, just run command below: `cake bake migrations seed -p Auth`

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

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/9c20760f298eae29425dd1c6180f208aedd70750a1bf2ecc350956a1587d6b4c?d=identicon)[kicaj](/maintainers/kicaj)

---

Top Contributors

[![kicaj](https://avatars.githubusercontent.com/u/3750725?v=4)](https://github.com/kicaj "kicaj (72 commits)")

---

Tags

authenticationauthorizationcakephpcakephp-plugin

### Embed Badge

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

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

###  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)
