/var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/me-tools
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/me-tools/README.md (3703B)
# MeTools
[](LICENSE.txt)
[](https://github.com/mirko-pagliai/me-tools/actions/workflows/ci.yml)
[](https://codecov.io/gh/mirko-pagliai/me-tools)
[](https://www.codacy.com/gh/mirko-pagliai/me-tools/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mirko-pagliai/me-tools&utm_campaign=Badge_Grade)
[](https://www.codefactor.io/repository/github/mirko-pagliai/me-tools/overview/develop)
MeTools is a CakePHP plugin to improve applications development.
It provides some useful tools, such as components, helpers and javascript libraries.
Refer to our [API](http://mirko-pagliai.github.io/me-tools) to discover them all.
## Installation
You can install the plugin via composer:
```bash
$ composer require --prefer-dist mirko-pagliai/me-tools
```
Then you have to load the plugin. For more information on how to load the plugin, please refer to the [Cookbook](http://book.cakephp.org/4.0/en/plugins.html#loading-a-plugin).
Simply, you can execute the shell command to enable the plugin:
```bash
bin/cake plugin load MeTools
```
This would update your application's bootstrap method.
### Installation on older CakePHP and PHP versions
Recent packages and the master branch require at least CakePHP 4.2 and PHP 7.4 and the current development of the code is based on these and later versions of CakePHP and PHP.
However, there are still some branches compatible with previous versions of CakePHP and PHP.
#### For PHP 7.2 or later
The [php7.2](http://github.com/mirko-pagliai/me-tools/tree/php7.2) branch requires at least PHP 7.2.
In this case, you can install the package as well:
```bash
$ composer require --prefer-dist mirko-pagliai/me-tools:dev-php7.2
```
Note that the `php7.2` branch will no longer be updated as of May 13, 2022,
except for security patches, and it matches the [2.20.9](http://github.com/mirko-pagliai/me-tools/releases/tag/2.20.9) version.
### Use the theme for Bake
MeTools includes a theme for Bake. For information on Bake's themes, refer to the [CookBook](http://book.cakephp.org/bake/2/en/development.html#creating-a-bake-theme).
If you want to use this theme, don't forget to use the `--theme MeTools` option when you Bake, or to set the theme as default:
```php
run($argv));
```
Then run the extract command in the console:
```bash
$ bin/cake i18n extract --paths config,src,templates --overwrite
```
## Versioning
For transparency and insight into our release cycle and to maintain backward compatibility, MeTools will be maintained under the [Semantic Versioning guidelines](http://semver.org).