際際滷

際際滷Share a Scribd company logo
Laravel 5
Installing
Sowren Sen, Premier University, Chittagong.
You are going to need:
 Xampp Server (5.0+)
 PHP (5.5+)
 Composer (shown here)
Prerequisites
Now download composer from the following URL:
Download Composer
https://getcomposer.org/Composer-Setup.exe
Select Install Shell Menus here:
Install Composer
Install Composer
Show PHP
installation path
here;
(located in
xampp/php)
Keep clicking next
until last screen.
Install Laravel
 Open command prompt.
 Type composer and press
enter.
 Check if composer is
working. It should give a
output screen like this.
Install Laravel
 Go to htdocs directory
from cmd.
 In case of mine, I have
xampp server installed on
G:xampphtdocs
 Type g: and press enter.
 Then type
cd xampp/htdocs
Type the following command to
create a new Laravel 5 project:
Here, project_name is the desired project name.
It can be anything you want. Follow the next slide.
Create Laravel Project
composer create-project laravel/laravel project_name
Create Laravel Project
 Press enter. It will take
some time depending on
your internet connection.
 After installation, you will
see the success
message.
Create Laravel Project
 Open browser and enter
following address:
 In my case
project_name is
learnlaravel.
 It will take you to the
newly created Laravel
project.
https://localhost/project_name/public
Finished!
Congrats, you have successfully installed
LARAVEL 5
Note: This is one of the procedures to install Laravel. There are other ways to install it. For those,
check Laravels documentation on official website.

More Related Content

Installing Laravel 5 on Windows

  • 1. Laravel 5 Installing Sowren Sen, Premier University, Chittagong.
  • 2. You are going to need: Xampp Server (5.0+) PHP (5.5+) Composer (shown here) Prerequisites
  • 3. Now download composer from the following URL: Download Composer https://getcomposer.org/Composer-Setup.exe
  • 4. Select Install Shell Menus here: Install Composer
  • 5. Install Composer Show PHP installation path here; (located in xampp/php) Keep clicking next until last screen.
  • 6. Install Laravel Open command prompt. Type composer and press enter. Check if composer is working. It should give a output screen like this.
  • 7. Install Laravel Go to htdocs directory from cmd. In case of mine, I have xampp server installed on G:xampphtdocs Type g: and press enter. Then type cd xampp/htdocs
  • 8. Type the following command to create a new Laravel 5 project: Here, project_name is the desired project name. It can be anything you want. Follow the next slide. Create Laravel Project composer create-project laravel/laravel project_name
  • 9. Create Laravel Project Press enter. It will take some time depending on your internet connection. After installation, you will see the success message.
  • 10. Create Laravel Project Open browser and enter following address: In my case project_name is learnlaravel. It will take you to the newly created Laravel project. https://localhost/project_name/public
  • 11. Finished! Congrats, you have successfully installed LARAVEL 5 Note: This is one of the procedures to install Laravel. There are other ways to install it. For those, check Laravels documentation on official website.