Package Data | |
---|---|
Maintainer Username: | jeremytubbs |
Maintainer Contact: | jeremytubbs@gmail.com (Jeremy Tubbs) |
Package Create Date: | 2015-11-19 |
Package Last Update: | 2022-09-07 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:01:51 |
Package Statistics | |
---|---|
Total Downloads: | 1,270 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 11 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Laravel Tile Generator for use with OpenSeadragon: https://openseadragon.github.io
This package utilizes my deepzoom package: https://github.com/jeremytubbs/deepzoom
Artisan command to queue image tiling:
php artisan deepzoom:tile
The artisan command accepts an image argument, as well as; filename and folder options. If no image argument is provided you will recieve a prompt to enter an image name.
php artisan deepzoom:tile KISS.jpg --filename=kiss --folder=keep-it-simple-stupid
The artisan command is queued and will use the default
queue driver set in the queue.php
config file.
If you would like to use the makeTiles
command inside a controller add the trait and dispatch the command:
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);
}
}
Add service provider to app/config
:
Jeremytubbs\LaravelDeepzoom\DeepzoomServiceProvider::class,
Publish the deepzoom.php
config file:
php artisan vendor:publish