Search by

tjm / static-web-tasks

tobymackenzie

Task to build a static version of a site for 'tjm/task-runner'

v0.2.6 2026-07-01 16:09 UTC

This package is auto-updated.

Last update: 2026-08-31 16:26:02 UTC


README

Task to build static version of website. Use like:

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

See code for more details. Early implementation, interface may change.

License

SPDX-License-Identifier: 0BSD