Home >> Latest Articles >> How to Install Laravel using Composer

How to Install Laravel using Composer

Laravel Installation: How to Install Laravel using Composer

Laravel 5 Installation and Configuration

You will need to make sure your server meets the following requirements:
  • PHP >= 5.6.4
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
Composer: Composer is a dependency manager for PHP. You can download composer using this link.
How to install Laravel using composer
  1. Open command Prompt (cmd).
  2. Go to project folder c:\xampp\htdocs\projects
  3. Type the following command in cmd and press enter:
  4. composer create-project --prefer-dist laravel/laravel myfistproject
    
  5. Wait for few minutes while your project is being installed……
    After Successful installation, you will see the successful message at the end of terminal.
  6. Now You can access your first project as : http://localhost/projects/myfirstproject/public/
Note: You can also visit official website of Laravel 
Full Stack Tutorials

Author | Blogger @FullStackTutorials | View all articles