PHP Class wget
wget requires PHP version 5.6 or higher with openssl and curl extensions enabled.
Install with composer.phar.
Add fawno/wget as a requirement to your project:
php composer.phar require "fawno/wget"Load the class in your script:
<?php
require 'vendor/autoload.php';
use Fawno\wget\wget;Download wget.php and save it in an accessible route.
Load wget.php in your script:
<?php
require 'wget.php';
use Fawno\wget\wget;