Skip to content

Installation

Required dependencies

TinyAuth wraps CakePHP's official Authentication and Authorization plugins. Before using TinyAuth features, you must install and configure the official plugins:

FeatureRequired PluginSetup Guide
Authentication (login/logout)cakephp/authentication/authentication/ + Official Docs
Authorization (roles / ACL)cakephp/authorization/authorization/ + Official Docs
bash
# For authentication features
composer require cakephp/authentication

# For authorization features
composer require cakephp/authorization

Standalone exception: the AuthUser component and helper work without the official plugins — they integrate with any authentication solution that sets an identity in the request.

Install TinyAuth

bash
composer require dereuromark/cakephp-tinyauth
bin/cake plugin load TinyAuth

Next steps

Pick the topic you actually need:

Released under the MIT License.