icybee / module-users-roles
Provides roles for users.
Installs: 150
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:icanboogie-module
Requires
- php: >=5.5.0
- icanboogie/module-installer: ^1.2.3
- icybee/module-users: ^3.0.0
This package is auto-updated.
Last update: 2024-12-20 03:35:25 UTC
README
Provides roles for users.
Bindings
The following prototype bindings are provided for User instances:
-
$roles
: The roles associated with a user.$user->roles; // Icybee\Modules\Users\Roles\Role[]
-
$role
: The aggregate role associated with a user.$user->role; // Icybee\Modules\Users\Roles\Role
Requirement
The package requires PHP 5.5 or later.
Installation
The recommended way to install this package is through Composer:
$ composer require icybee/module-users-roles
This module is part of the modules required by Icybee.
Cloning the repository
The package is available on GitHub, its repository can be cloned with the following command line:
$ git clone https://github.com/Icybee/module-users-roles.git users.roles
Documentation
The package is documented as part of the Icybee CMS
documentation. The documentation for the package and its
dependencies can be generated with the make doc
command. The documentation is generated in
the docs
directory using ApiGen. The package directory can later by
cleaned with the make clean
command.
License
The module is licensed under the New BSD License - See the LICENSE file for details.