laravel putfile code example
Example 1: laravel link storage to public
php artisan storage:link
Example 2: laravel filesystem
$exists = Storage::disk('s3')->exists('file.jpg');
php artisan storage:link
$exists = Storage::disk('s3')->exists('file.jpg');