for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Lubus\ImageFilters;
use Intervention\Image\Image;
use Intervention\Image\Filters\FilterInterface;
class Invoice implements FilterInterface
{
public function applyFilter(Image $image)
return $image->resize(150, null, function ($constraint) {
$constraint->aspectRatio();
})->encode('jpg', 100);
}