Skip to content

Commit f69acd0

Browse files
Merge pull request #64 from mirko-pagliai/develop
updated
2 parents 13f23ac + 2b301ea commit f69acd0

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
3525
Then you have to load the plugin. For more information on how to load the plugin,
3626
please 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

Comments
 (0)