PHPackages                             zielony/conditionacl - 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. zielony/conditionacl

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

zielony/conditionacl
====================

Simple access-control list with conditions

v1.1.0(4mo ago)025GPL-3.0-onlyPHPPHP &gt;=7.3

Since May 31Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/zielony/conditionacl)[ Packagist](https://packagist.org/packages/zielony/conditionacl)[ RSS](/packages/zielony-conditionacl/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

Conditionacl
============

[](#conditionacl)

Conditionacl is an implementation of a simple access-control list (ACL) system that also takes external conditions into account when validating the rules.

Example usage:

```
$aclFactory = new AclFactory(new YamlFileConfig('...'));
$acl = $aclFactory->fromRole('project-reader');

$user1 = new Domain\User(1, 'user1');
$user2 = new Domain\User(2, 'user2');

$project = new Domain\Project(1, 'first', $user1);

$acl->hasPermissionTo('read', 'project', new Condition\IfUserIsProjectsOwner($user1, $project));
// true

$acl->hasPermissionTo('read', 'project', new Condition\IfUserIsProjectsOwner($user2, $project));
// false

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance75

Regular maintenance activity

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~559 days

Total

4

Last Release

134d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.4

v1.0.2PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/311489?v=4)[Tomek Zielonka](/maintainers/zielony)[@zielony](https://github.com/zielony)

---

Top Contributors

[![zielony](https://avatars.githubusercontent.com/u/311489?v=4)](https://github.com/zielony "zielony (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zielony-conditionacl/health.svg)

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

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

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