mirko-pagliai / cakephp-tokens
A plugin to handle tokens for CakePHP
Fund package maintenance!
paypal.me/mirkopagliai
Installs: 25 723
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=7.4
- cakephp/cakephp: ^4.0
- mirko-pagliai/php-tools: ^1.3
Requires (Dev)
- cakephp/cakephp-codesniffer: ^4.0
- mirko-pagliai/me-tools: ^2.20
- phpstan/phpstan: ^1.7
- phpunit/phpunit: ^8.5.14|^9.1|^9.5
- psalm/phar: ^4.24
README
Tokens is a CakePHP plugin to allows you to handle tokens.
Did you like this plugin? Its development requires a lot of time for me. Please consider the possibility of making a donation: even a coffee is enough! Thank you.
Installation
You can install the plugin via composer:
$ composer require --prefer-dist mirko-pagliai/cakephp-tokens
Then you have to load the plugin. For more information on how to load the plugin, please refer to the Cookbook.
Simply, you can execute the shell command to enable the plugin:
bin/cake plugin load Tokens
This would update your application's bootstrap method.
Configuration
The plugin uses some configuration parameters and you can set them using the
\Cake\Core\Configure
class, before loading the plugin.
For example, you can do this at the bottom of the file APP/config/app.php
of your application.
Versioning
For transparency and insight into our release cycle and to maintain backward compatibility, Tokens will be maintained under the Semantic Versioning guidelines.