{"id":27063784,"url":"https://github.com/geo6/laminas-acl-postgresql","last_synced_at":"2026-05-09T15:05:27.756Z","repository":{"id":54259077,"uuid":"114885137","full_name":"geo6/laminas-acl-postgresql","owner":"geo6","description":"Zend Permissions ACL with PostgreSQL","archived":false,"fork":false,"pushed_at":"2021-03-01T02:27:26.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-17T10:24:46.972Z","etag":null,"topics":["laminas","laminas-acl","laminas-permissions-acl","php","postgresql","zend","zend-acl","zend-framework","zend-permissions-acl"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geo6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-20T12:30:15.000Z","updated_at":"2021-03-01T02:27:27.000Z","dependencies_parsed_at":"2022-08-13T10:10:58.241Z","dependency_job_id":null,"html_url":"https://github.com/geo6/laminas-acl-postgresql","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Flaminas-acl-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Flaminas-acl-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Flaminas-acl-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Flaminas-acl-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geo6","download_url":"https://codeload.github.com/geo6/laminas-acl-postgresql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247368644,"owners_count":20927910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laminas","laminas-acl","laminas-permissions-acl","php","postgresql","zend","zend-acl","zend-framework","zend-permissions-acl"],"created_at":"2025-04-05T16:35:06.308Z","updated_at":"2026-05-09T15:05:22.709Z","avatar_url":"https://github.com/geo6.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Laminas Permissions ACL](https://docs.laminas.dev/laminas-permissions-acl/) with [PostgreSQL](https://www.postgresql.org/)\n\n[![Latest Stable Version](https://poser.pugx.org/geo6/laminas-acl-postgresql/v/stable)](https://packagist.org/packages/geo6/laminas-acl-postgresql)\n[![Total Downloads](https://poser.pugx.org/geo6/laminas-acl-postgresql/downloads)](https://packagist.org/packages/geo6/laminas-acl-postgresql)\n[![Monthly Downloads](https://poser.pugx.org/geo6/laminas-acl-postgresql/d/monthly.png)](https://packagist.org/packages/geo6/laminas-acl-postgresql)\n\n## Install\n\n    composer require geo6/laminas-acl-postgresql\n\n## Database structure\n\nSee [INSTALL.md](./INSTALL.md)\n\n\u003e For the purposes of this documentation:\n\u003e\n\u003e - a **resource** is an object to which access is controlled.\n\u003e - a **role** is an object that may request access to a **resource**.\n\u003e\n\u003e 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.\n\u003e\n\u003e --- \u003chttps://docs.laminas.dev/laminas-permissions-acl/usage/\u003e\n\n### Table `resource`\n\n| Column name | Column description                                                            |\n| ----------- | ----------------------------------------------------------------------------- |\n| id          | `int` Identifier (AUTONUM)                                                    |\n| name        | Name of the resource                                                          |\n| url         | URL of the resource                                                           |\n| locked      | `bool` Allows to deny access to the resource for everyone                     |\n| public      | `bool` Allows to set the resource accessible to everyone - even without login |\n\n### Table `role`\n\n| Column name | Column description                                                            |\n| ----------- | ----------------------------------------------------------------------------- |\n| id          | `int` Identifier (AUTONUM)                                                    |\n| name        | Name of the role                                                              |\n| priority    | `int` Priority of the resource - Rules will be applied following the priority |\n\nA \"special\" role is created by default : `admin` !\nThis role will have automatically access to every new resource created.\n\n### Table `user`\n\n| Column name | Column description                                                                                                                           |\n| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| id          | `int` Identifier (AUTONUM)                                                                                                                   |\n| login       | Login of the user (= username)                                                                                                               |\n| password    | Encrypted password of the user                                                                                                               |\n| email       | Email address of the user                                                                                                                    |\n| fullname    | Full name of the user                                                                                                                        |\n| home        | `int` Identifier resource used to be the homepage of the user. The user will be automatically redirected to his/her homepage once logged in. |\n| locked      | `bool` Allows to deny access to everything for this user. The user won't be able to log in.                                                  |\n\n### Table `role_resource`\n\nGrant access for a role to a resource.\n\n### Table `user_role`\n\nAssign a user to a role.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeo6%2Flaminas-acl-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeo6%2Flaminas-acl-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeo6%2Flaminas-acl-postgresql/lists"}