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