Download the PHP package geo6/zend-acl-postgresql without Composer

On this page you can find all versions of the php package geo6/zend-acl-postgresql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zend-acl-postgresql

Laminas Permissions ACL with PostgreSQL

Latest Stable Version Total Downloads Monthly Downloads

Install

composer require geo6/laminas-acl-postgresql

Database structure

See 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.

--- https://docs.laminas.dev/laminas-permissions-acl/usage/

Table resource

Column name Column description
id int Identifier (AUTONUM)
name Name of the resource
url URL of the resource
locked bool Allows to deny access to the resource for everyone
public bool Allows to set the resource accessible to everyone - even without login

Table role

Column name Column description
id int Identifier (AUTONUM)
name Name of the role
priority int Priority of the resource - Rules will be applied following the priority

A "special" role is created by default : admin ! This role will have automatically access to every new resource created.

Table user

Column name Column description
id int Identifier (AUTONUM)
login Login of the user (= username)
password Encrypted password of the user
email Email address of the user
fullname Full name of the user
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.
locked bool Allows to deny access to everything for this user. The user won't be able to log in.

Table role_resource

Grant access for a role to a resource.

Table user_role

Assign a user to a role.


All versions of zend-acl-postgresql with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package geo6/zend-acl-postgresql contains the following files

Loading the files please wait ....