Seeding Media Files
Seeding Images
You can seed random images into the database by using a built in seeder.
php artisan db:seed --class=Yadda\\Enso\\Media\\database\\seeders\\ImageSeeder
This will generate download 10 random files from picsum.photos and create database records for them.
If you need more files you can run the seeder multiple times. The images will be different each time.
Discovering Existing Files
If you clear out your database (for example by running php artisan migrate:fresh) then your files will still exist on disk but Enso will not know about them.
You can rediscover existing files by running an Artisan command.
php artisan enso:discover-files