I am using Windows 10 and composer
is installed. When I try to install laravel
installer globally using this command:
composer global r
The following steps will fix most "packages.json file could not be downloaded" issue with Composer:
Note: Make sure you are working with the right PHP version and Environment (apache, CLI, etc.) when you modify the php.ini file.