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.
SPDX-License-Identifier: 0BSD