Skip to content

Commit 2a90e3e

Browse files
authored
Update README.md
1 parent ac34a28 commit 2a90e3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ IP2Proxy CakePHP plugin enables the user to query an IP address if it was being
66

77

88
## INSTALLATION
9-
For CakePHP 3.x
9+
For CakePHP 4.x
1010

11-
1. Run the command: `composer require ip2location/ip2proxy-cakephp` to download the plugin into the CakePHP 3 platform.
11+
1. Run the command: `composer require ip2location/ip2proxy-cakephp` to download the plugin into the CakePHP 4 platform.
1212
2. Download latest IP2Proxy BIN database
1313
- IP2Proxy free LITE database at https://lite.ip2location.com
1414
- IP2Proxy commercial database at https://www.ip2location.com/proxy-database
@@ -24,11 +24,11 @@ Please select the right package for download.
2424
## USAGE
2525
In this tutorial, we will show you on how to create a **TestsController** to display the IP information.
2626

27-
1. Create a **TestsController** in CakePHP 3 using the below command line
27+
1. Create a **TestsController** in CakePHP 4 using the below command line
2828
```
2929
php bin/cake bake controller Tests
3030
```
31-
2. Create an empty **index.ctp** file in *cakephp/src/Template/Tests* folder.
31+
2. Create an empty **index.php** file in *cakephp/templates/Tests* folder.
3232
3. Open the **cakephp/src/Controller/TestsController.php** in any text editor.
3333
4. Remove the contents in TestsController.php and add the below lines into the controller file.
3434
```

0 commit comments

Comments
 (0)