1. Go to this page and download the library: Download homelan/acorn-disk 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/ */
homelan / acorn-disk example snippets
$oDfs = new \HomeLan\Retro\Acorn\Disk\DfsReader('disk_image.ssd');
$sDiskImage = file_get_contents('disk_image.ssd');
$oDfs = new \HomeLan\Retro\Acorn\Disk\DfsReader(null,$sDiskImage);