Download the PHP package kaleidpixel/jpipallow without Composer
On this page you can find all versions of the php package kaleidpixel/jpipallow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaleidpixel/jpipallow
More information about kaleidpixel/jpipallow
Files in kaleidpixel/jpipallow
Package jpipallow
Short Description A tool designed to generate a .htaccess file that exclusively allows access from Japanese IP addresses, ensuring web content is accessible only within Japan.
License MIT
Informations about the package jpipallow
JPIPAllow
A tool designed to generate a .htaccess file that exclusively allows access from Japanese IP addresses, ensuring web content is accessible only within Japan.
Document
Coding is quite simple. The options are only simple, so you won't get lost.
Options
Option | Description |
---|---|
server default: apache |
Apache or Nginx |
ipv default: 0 |
Specify the version of the IP Address with a single digit (4 or 6). |
output_path default: empty |
File path including the name of the file to output the results. |
add_before_str default: empty |
. |
add_before_str default: empty |
. |
Methods
Method | Parameter | Description |
---|---|---|
read() | bool $echo = false bool $force = false |
Create a list of IP addresses. If already created, cache it for one day. |
Basic markup
What follows is the simplest coding.
The source code shown above will work on the built-in web server. It also operates in CLI, so choose whichever you prefer.
If you want to run it on the built-in web server, execute the command shown below and then access it with a web browser.
If you want to run it in CLI, execute the command shown below. The path where the file is outputted will be displayed as a result.
License
MIT License
Copyright (c) 2023 Kaleid Pixel
All versions of jpipallow with dependencies
ext-intl Version *
ext-mbstring Version *
ext-curl Version *
ext-json Version *
ext-fileinfo Version *
kaleidpixel/geoipallow Version ^1.0