<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
naturalgroove / laravel-filament-image-generator-field example snippets
use \NaturalGroove\Filament\ImageGeneratorField\Forms\Components\ImageGenerator;
[...]
public static function form(Form $form): Form
{
return $form
->schema([
ImageGenerator::make('photo'),
]);
use \NaturalGroove\Filament\ImageGeneratorField\Forms\Components\ImageGenerator;
ImageGenerator::make('photo')
->imageEditor()
->disk('private'),