Requirements
My Computer Spesification
Regards
- XAMPP Portable 1.8.3 PHP 5.5 [ get this ] [ main site ]
- Laravel Framework Source Bundle [ get this ] [ main site ]
- Composer [ manual installation ] [ main site ]
- Internet Connection
My Computer Spesification
- OS Windows 7 SP1
- Download , locate , extract and rename to your directory . ( ex E:\xampp ).
- Run XAMPP Portable Control Panel v 3.2.1 ( E:\xampp\xampp-control.exe )
- Start MySQL Services
- Start Apache Services
- Click Shell button in the right corner to open XAMPP SHELL BASH Command Prompt
- type cd e:\xampp\php
- still on directory e:\xampp\php type
php -r "readfile('https://getcomposer.org/installer');" | php
- wait until the installation is complete
- Create a new
composer.bat
file alongsidecomposer.phar
: - still on directory e:\xampp\php type
echo @php "%~dp0composer.phar" %*>composer.bat
- type
composer -V
- if you look at the composer title screen, then your installation successful
- Now close the XAMPP command shell bash
- Restart MySQL and Apache services on the XAMPP Portable Control Panel
- Open XAMPP command shell bash
- now just type composer it will show composer title screen on shell bash. or type composer -V to show the version
- Download , locate , extract and rename to XAMPP public directory ( ex E:\xampp\htdocs\mylaravelproject )
- Open XAMPP Portable Control Panel
- Dont forget to activate Apache and MySQL
- Run XAMPP Portable SHELL Command Prompt
- type cd E:\xampp\htdocs\mylaravelproject
- type composer create-project laravel/laravel mylaravelproject –prefer-dist ( this is add laravel dependency source class manager to your mylaravelproject )
- wait until finish downloading dependency class manager to your laravel local project ( if you dont know the dependency management read this or this )
- After finish type on your browser http://localhost/mylaravelproject/public It Show your laravel project home view
Regards
No comments:
Post a Comment