PHP code example of michaeld555 / filament-croppie
1. Go to this page and download the library: Download michaeld555/filament-croppie 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/ */
michaeld555 / filament-croppie example snippets
use Michaeld555\FilamentCroppie\Components\Croppie;
Croppie::make('avatar')
->label('Avatar') // Field label
->disk('public') // Storage disk
->directory('avatars') // Storage directory
// ... other configuration options