@@ -22,16 +22,6 @@ You can install the plugin via composer:
2222$ composer require --prefer-dist mirko-pagliai/cakephp-database-backup
2323```
2424
25- The current release requires at least CakePHP 4.0, PHP 7.2 and ` phpunit ` 8.0.
26-
27- Instead, the [ cakephp3] ( //github.com/mirko-pagliai/cakephp-database-backup/tree/cakephp3 )
28- branch requires at least CakePHP 3.5.1, PHP 5.6 and ` phpunit ` 5.7.14.
29- In this case, you can install the package as well:
30-
31- ``` bash
32- $ composer require --prefer-dist mirko-pagliai/cakephp-database-backup:dev-cakephp3
33- ```
34-
3525Then you have to load the plugin. For more information on how to load the plugin,
3626please refer to the [ Cookbook] ( //book.cakephp.org/4.0/en/plugins.html#loading-a-plugin ) .
3727
@@ -48,7 +38,21 @@ files. So you have to create the directory and make it writable:
4838$ mkdir backups/ && chmod 775 backups/
4939```
5040
51- If you want to use a different directory, read below.
41+ If you want to use a different directory, read the [ Configuration] ( #configuration ) section.
42+
43+ ### Installation on older CakePHP and PHP versions
44+ Recent packages and the master branch require at least CakePHP 4.0 and PHP 7.2.
45+ Instead, the [ cakephp3] ( //github.com/mirko-pagliai/cakephp-database-backup/tree/cakephp3 ) branch
46+ requires at least PHP 5.6.
47+
48+ In this case, you can install the package as well:
49+ ``` bash
50+ $ composer require --prefer-dist mirko-pagliai/cakephp-database-backup:dev-cakephp3
51+ ```
52+
53+ Note that the ` cakephp3 ` branch will no longer be updated as of April 29, 2021,
54+ except for security patches, and it matches the
55+ [ 2.8.5] ( //github.com/mirko-pagliai/cakephp-database-backup/releases/tag/2.8.5 ) version.
5256
5357## Requirements
5458* DatabaseBackup* requires:
0 commit comments