installing Laravel v8.0.1 in Windows 10 Pro x64bit

 Using WAMP for 

php - 7.4.10

maraiadb - 10

apache - 2.4



php -i | grep -i ssl 
to check registration stream socket transports

grep -R "search your word"
use this cmd to search in linux directory

composer diagnose
to see the status of composer

check with this link also: https://github.com/composer/composer/issues/4388

Failed to download tijsverkoyen/css-to-inline-styles from dist: The "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/b43b05cf43c1b6d849478965062b6ef73e223bb5" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: No such host is known.     failed to open stream: php_network_getaddresses: getaddrinfo  failed: No such host is known.  Now trying to download from source

https://github.com/tijsverkoyen/CssToInlineStyles 

install the composer require tijsverkoyen/css-to-inline-styles

=======================================================================

These are final steps:

  1.  https://getcomposer.org/download/ and install it.
  2.  create a folder as laravel, redirect to laravel using cmd prompt as cd c:\xampp\htdocs\laravel.
  3. then simply type this command to create a first project composer create-project laravel/laravel laravel-project --prefer-dist 
  4. Replace first-project with your project name 
  5. then redirect to localhost/laravel/laravel-project/public/
or install Laravel globally so that it can help in installing new apps so quick

composer global require laravel/installer

Comments

Popular Posts