Download the PHP package bertptrs/gatekeeper-utils without Composer
On this page you can find all versions of the php package bertptrs/gatekeeper-utils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bertptrs/gatekeeper-utils
More information about bertptrs/gatekeeper-utils
Files in bertptrs/gatekeeper-utils
Package gatekeeper-utils
Short Description A collection of commands, filters and utilities for the gatekeeper module in the Mako PHP framework.
License MIT
Informations about the package gatekeeper-utils
Gatekeeper Utils
This package contains tools and commands for the Mako framework authentication plugin Gatekeeper.
For now, the package contains some commands and a filter, but more will be added if needed. Feel free to fork to file an issue if there are missing features.
Installation
Installation is done using composer. The package has a compatible Mako version specified so you don't have to worry about which version to use.
After that, you need to register the package to be loaded. This is specified in the app/config/application.php
file.
I recommend that you register the package in the core
packages, but if you only use the filters, or just the commands, you could register it in the web
and cli
packages respectively.
Available commands
Currently, there are three supported commands. These commands are registered automatically when the plugin is loaded. All commands are prefixed with gatekeeper::
to prevent naming collisions.
user.create
helps you create new users.user.activate
(de)activates user accounts.user.password
can set new passwords for users.group.create
creates new groups.group.member
can add and remove members in groups.group.delete
deletes groups.
For more information about the workings and options, you can use the --help flag, like so: