laravel 8 getoriginalExtension code example Example: file original extensions laravel $extension = $file->getClientOriginalExtension();