Trying to require Laravel Sail for existing Laravel projects and applications you may hit the 'Install or enable PHP's fileinfo extension' error in the command line.
Here's a quick fix for it.
I was running the command:
composer require laravel/sail --dev
I edited the php.ini file
And inserted the line:
extension=php_fileinfo.dll
I ran the command again, it worked.
Remember - it's never too late!
Cheers,
Steve