PHP code example of jrrdnx / craft-ip-restrictor
1. Go to this page and download the library: Download jrrdnx/craft-ip-restrictor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jrrdnx / craft-ip-restrictor example snippets
sh
php craft plugin/install ip-restrictor
php craft plugin/enable ip-restrictor
sh
cp vendor/jrrdnx/craft-ip-restrictor/src/config.php config/ip-restrictor.php