File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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.
12122 . 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
2525In 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```
2929php 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.
32323 . Open the ** cakephp/src/Controller/TestsController.php** in any text editor.
33334 . Remove the contents in TestsController.php and add the below lines into the controller file.
3434```
You can’t perform that action at this time.
0 commit comments