Download the PHP package oyeaussie/phpfirewall without Composer

On this page you can find all versions of the php package oyeaussie/phpfirewall. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpfirewall

Awards

PHPFirewall was awarded 1st prize in the IP2Location Programming Contest 2024 IP2Location Programming Contest 2024

Description:

PHPFirewall is a tool to allow/block connections to your web resource using IP address. The IP address details are either retrieved from local database or by making API calls to IP2Location.io

Why this project?

Internet is ever growing. New devices are coming online everyday which requires the ISPs to add new network range into their system. This makes it quite difficult for firewalls like Cisco or pfsense (linux) to manage policies or know about all networks that are introduced by the ISP of a particular region. Most network hacking happens because of incorrect/failed firewall rules. It's just hard to know all of the network IP ranges of a region.

I wanted to create a firewall application that can be installed on shared hosting, that does not require physical access to the hardware or require a dedicated hardware to run. PHPFirewall can run in a shared hosting environment like Cpanel and it will work just fine. Most Cpanel providers provide access to the users space via SSH, so managing the firewall via CLI is possible.

The whole idea is not to worry about which IP belongs to which part of the world. 1 line should be enough to allow connection from that region and the firewall should take care of the rest of the connections by blocking them. Ip2location.io API along with this application - PHPFirewall, makes this possible.

Code Example:

Documentation:

Documentation for this repository

Credits:

Thanks to the following projects for their great work. Without them, this project would not be possible.

Composer
Symphony Http Foundation
Ip2location.io - https://www.ip2location.io/
Ip2location PHP Module - https://github.com/chrislim2888/IP2Location-PHP-Module
Ip2location Proxy PHP Module - https://github.com/ip2location/ip2proxy-php
Guzzle - https://github.com/guzzle/guzzle
Flysystem - https://github.com/thephpleague/flysystem
SleekDB - https://github.com/SleekDB/SleekDB
The PHP League CSV - https://github.com/thephpleague/csv
Carbon Date : https://carbon.nesbot.com/
Codeception : https://codeception.com/
PHPUnit : https://phpunit.de/

Issues/Discussions/New features:

Feel free to open an issue in case of a bug or to discuss anything related to the tool or to add a new feature.

Buy Me A Coffee/Beer:

Time is valuable. If you feel this project has been helpful and it has saved your time worth a coffee or a beer...

Buy Me A Coffee Buy Me A Beer

Hire me:

If you would like to develop a PHP application that requires expert level programming. I am available for hire. Message me and we can discuss further.

Repo Activity:

Repo Activity


All versions of phpfirewall with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5 || ^8.0
ext-json Version *
ext-bcmath Version *
ext-curl Version *
phpterminal/phpterminal Version *
phpterminal/phpterminal-modules-firewall Version *
phpterminal/phpterminal-plugins-auth Version *
symfony/http-foundation Version *
ip2location/ip2location-php Version ^9.7
ip2location/ip2location-io-php Version ^1.0
ip2location/ip2proxy-php Version ^4.1
league/csv Version ^9.16.0
rakibtg/sleekdb Version *
nesbot/carbon Version *
guzzlehttp/guzzle Version ^7.8
league/flysystem Version ^3.28
monolog/monolog Version ^3.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oyeaussie/phpfirewall contains the following files

Loading the files please wait ....