PHP code example of mansoor / filament-unsplash-picker
1. Go to this page and download the library: Download mansoor/filament-unsplash-picker 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/ */
mansoor / filament-unsplash-picker example snippets
FileUpload::make('featured_image')
->multiple() // This will indicate the plugin to allow the user to pick multiple files
->hintAction(
UnsplashPickerAction::make()
)