PHP code example of jeremytubbs / laravel-deepzoom
1. Go to this page and download the library: Download jeremytubbs/laravel-deepzoom 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/ */
jeremytubbs / laravel-deepzoom example snippets
use Jeremytubbs\LaravelDeepzoom\Commands\MakeTiles;
class MyController extends Controller
{
use \Illuminate\Foundation\Bus\DispatchesJobs;
public function handle($image, $filename = null, $folder = null) {
$command = new MakeTiles($image, $filename, $folder);
$this->dispatch($command);
}
}