PHP code example of tjm / static-web-tasks

1. Go to this page and download the library: Download tjm/static-web-tasks 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/ */

    

tjm / static-web-tasks example snippets

 php
use TJM\StaticWebTasks\Task;
$task = new Task([
	'host'=> 'example.com',
	'scheme'=> 'https',
], __DIR__ . '/output-dir', [
	'exclude'=> ['/.htaccess'],
]);
$task->do();