PHPackages                             dmitrymomot/kohana-acl - 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. [Framework](/categories/framework)
4. /
5. dmitrymomot/kohana-acl

AbandonedArchivedKohana-module[Framework](/categories/framework)

dmitrymomot/kohana-acl
======================

Kohana v3 ACL

3.3.1(12y ago)3231MITPHPPHP &gt;=5.3.3

Since Jan 17Pushed 12y ago1 watchersCompare

[ Source](https://github.com/dmitrymomot/kohana-acl)[ Packagist](https://packagist.org/packages/dmitrymomot/kohana-acl)[ Docs](https://github.com/dimkof/kohana-acl)[ RSS](/packages/dmitrymomot-kohana-acl/feed)WikiDiscussions 3.3/master Synced yesterday

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

\#Kohana ACL

ACL module for Kohana &gt;= 3.3 based on [Wouterrr/ACL](https://github.com/Wouterrr/ACL) + [Wouterrr/A2](https://github.com/Wouterrr/A2)

\###Dependencies

- [Kohana-pack/Timestamped-Migrations](https://github.com/kohana-pack/timestamped-migrations)
- [Kohana/Database](https://github.com/kohana/database)
- [Kohana/Auth](https://github.com/kohana/auth)

\###Installation

First off, download and enable the module in your bootstrap.

Add the necessary tables and fields in the database using migrations:

```
$ ./minion db:migrate --module=kohana-acl
```

\###Settings

..........

\###Usage

\####Simple usage without file config or database Add resource

```
ACL::instance()->add_resource('news');
```

Add roles

```
ACL::instance()->add_role('guest');
ACL::instance()->add_role('member');
ACL::instance()->add_role('editor');
ACL::instance()->add_role('admin');
```

Allow "guest" to "view" the news

```
ACL::instance()->allow('guest', 'news', 'view');
```

Allow "member" to "comment" on "news"

```
ACL::instance()->allow('member', 'news', 'comment');
```

Allow "editor" to do anything, except "delete" news

```
ACL::instance()->allow('editor', 'news');
ACL::instance()->deny('editor', 'news', 'delete');
```

Allow "admin" to do anything

```
ACL::instance()->allow('admin');
```

Check permissions for current user

```
ACL::check('news', 'edit'); // return boolean value
```

Check permissions for any role

```
ACL::instance()->is_allowed('guest', 'news', 'comment');
ACL::instance()->is_allowed('editor', 'news', 'add');
ACL::instance()->is_allowed('admin', 'news', 'delete');
```

\###Drivers

\####Use Auth as driver See [demo application](https://github.com/dimkof/kohana-acl-demo-with-auth)or use default driver which is wrapper for Auth.

\####Creating new driver Class must implement interface ACL\_Auth\_Interface. For example see [default driver](https://github.com/dimkof/kohana-acl/blob/3.3/master/classes/Kohana/ACL/Auth.php)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4498d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc65d100707fbcb8bd589b361245b702ade74480ccfd2a963b1f1672484f2e28?d=identicon)[dmitrymomot](/maintainers/dmitrymomot)

---

Top Contributors

[![dmitrymomot](https://avatars.githubusercontent.com/u/2080279?v=4)](https://github.com/dmitrymomot "dmitrymomot (2 commits)")

---

Tags

frameworkkohanaaclaccess control list

### Embed Badge

![Health badge](/badges/dmitrymomot-kohana-acl/health.svg)

```
[![Health](https://phpackages.com/badges/dmitrymomot-kohana-acl/health.svg)](https://phpackages.com/packages/dmitrymomot-kohana-acl)
```

###  Alternatives

[kohana/database

The official Kohana module for database interactions, building queries, and prepared statements

158486.0k19](/packages/kohana-database)[kohana/image

The official Kohana module for manipulating images

103461.3k8](/packages/kohana-image)[kohana/auth

The official Kohana auth module

101227.2k9](/packages/kohana-auth)[kohana/cache

The official Kohana cache management module

76318.3k8](/packages/kohana-cache)[kohana/orm

The official Kohana ORM module

15772.1k8](/packages/kohana-orm)[kohana/minion

The official kohana module for running tasks via the CLI

114117.1k10](/packages/kohana-minion)

PHPackages © 2026

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