PHPackages                             geo6/laminas-acl-postgresql - 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. geo6/laminas-acl-postgresql

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

geo6/laminas-acl-postgresql
===========================

Laminas Permissions ACL with PostgreSQL

v2.0.2(5y ago)0312GPL-3.0-or-laterPHP

Since Mar 20Pushed 5y agoCompare

[ Source](https://github.com/geo6/laminas-acl-postgresql)[ Packagist](https://packagist.org/packages/geo6/laminas-acl-postgresql)[ RSS](/packages/geo6-laminas-acl-postgresql/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (9)Dependencies (8)Versions (11)Used By (0)

[Laminas Permissions ACL](https://docs.laminas.dev/laminas-permissions-acl/) with [PostgreSQL](https://www.postgresql.org/)
===========================================================================================================================

[](#laminas-permissions-acl-with-postgresql)

[![Latest Stable Version](https://camo.githubusercontent.com/b91f3c089f2bfc7ab3f185e000dd063b958c99f2181304019beb50404ee4e12e/68747470733a2f2f706f7365722e707567782e6f72672f67656f362f6c616d696e61732d61636c2d706f737467726573716c2f762f737461626c65)](https://packagist.org/packages/geo6/laminas-acl-postgresql)[![Total Downloads](https://camo.githubusercontent.com/f82719a506a4615dbded2909f08fbf6ecb2c0b797cb48a53c3a1204a2e03a068/68747470733a2f2f706f7365722e707567782e6f72672f67656f362f6c616d696e61732d61636c2d706f737467726573716c2f646f776e6c6f616473)](https://packagist.org/packages/geo6/laminas-acl-postgresql)[![Monthly Downloads](https://camo.githubusercontent.com/180e194d4de6029f17ef6a62ba70073e37a504277c2088d725331f36db7bc800/68747470733a2f2f706f7365722e707567782e6f72672f67656f362f6c616d696e61732d61636c2d706f737467726573716c2f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/geo6/laminas-acl-postgresql)

Install
-------

[](#install)

```
composer require geo6/laminas-acl-postgresql

```

Database structure
------------------

[](#database-structure)

See [INSTALL.md](./INSTALL.md)

> For the purposes of this documentation:
>
> - a **resource** is an object to which access is controlled.
> - a **role** is an object that may request access to a **resource**.
>
> Put simply, **roles request access to resources**. For example, if a parking attendant requests access to a car, then the parking attendant is the requesting role, and the car is the resource, since access to the car may not be granted to everyone.
>
> \---

### Table `resource`

[](#table-resource)

Column nameColumn descriptionid`int` Identifier (AUTONUM)nameName of the resourceurlURL of the resourcelocked`bool` Allows to deny access to the resource for everyonepublic`bool` Allows to set the resource accessible to everyone - even without login### Table `role`

[](#table-role)

Column nameColumn descriptionid`int` Identifier (AUTONUM)nameName of the rolepriority`int` Priority of the resource - Rules will be applied following the priorityA "special" role is created by default : `admin` ! This role will have automatically access to every new resource created.

### Table `user`

[](#table-user)

Column nameColumn descriptionid`int` Identifier (AUTONUM)loginLogin of the user (= username)passwordEncrypted password of the useremailEmail address of the userfullnameFull name of the userhome`int` Identifier resource used to be the homepage of the user. The user will be automatically redirected to his/her homepage once logged in.locked`bool` Allows to deny access to everything for this user. The user won't be able to log in.### Table `role_resource`

[](#table-role_resource)

Grant access for a role to a resource.

### Table `user_role`

[](#table-user_role)

Assign a user to a role.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 63.8% 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 ~107 days

Total

10

Last Release

2011d ago

Major Versions

1.x-dev → v2.0.02020-04-02

### Community

Maintainers

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

---

Top Contributors

[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (30 commits)")[![jbelien](https://avatars.githubusercontent.com/u/1150563?v=4)](https://github.com/jbelien "jbelien (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")

---

Tags

laminaslaminas-acllaminas-permissions-aclphppostgresqlzendzend-aclzend-frameworkzend-permissions-acl

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/geo6-laminas-acl-postgresql/health.svg)

```
[![Health](https://phpackages.com/badges/geo6-laminas-acl-postgresql/health.svg)](https://phpackages.com/packages/geo6-laminas-acl-postgresql)
```

###  Alternatives

[kokspflanze/bjy-authorize

Laminas\\Acl based firewall system for Laminas dispatch protection

20178.2k4](/packages/kokspflanze-bjy-authorize)

PHPackages © 2026

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