Skip to main content

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 from this blog

GraphQL vs REST

  GraphQL   GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. GraphQL can optimize RESTful API calls. It gives a declarative way of fetching and updating your data. GraphQL helps you to load data from server to client. It enables programmers to choose the types of requests they want to make. REST REST is a software architectural style that defines a set of constraints for creating web services. It is designed specifically for working with media components, files, or hardware device. The full form of REST is Representational State Transfer. ========================================================= Here is the important difference between GraphQL and REST. GraphQL REST GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. REST is a software architectural style that defines a set of constraints for creating Web services. It follow...

Git Commands

  Git commands sorted. Reference: https://git-scm.com/docs Git task Notes Git commands Tell Git who you are Configure the author name and email address to be used with your commits. Note that Git strips some characters (for example trailing periods) from user.name . git config --global user.name "Sam Smith" git config --global user.email sam@example.com Create a new local repository   git init Check out a repository Create a working copy of a local repository: git clone /path/to/repository For a remote server, use: git clone username@host:/path/to/repository Add files Add one or more files to staging (index): git add <filename> git add * Commit Commit changes to head (but not yet to the remote repository): git commit -m "Commit message" Commit any files you've added with git add , and also commit any files you've changed since then: git commit -a Push Send changes to the master branch of your remote repository: git push origin master Status List the...

Angular 16 Released

 check out these videos: