First you need to install Composer from this link:
https://getcomposer.org/download/
Here you can find both installer for windows and Unix.
If you are in windows then download here: https://getcomposer.org/Composer-Setup.exe
Before installing Composer check that you must have PHP 5.3 or later.
I am assuming that you are using Wamp 2.5
- Go to in the "c:\wamp\www\" folder
- Open command window and cd in "c:\wamp\www\"
- type "composer create-project laravel/laravel TestPro1" in command window; where composer is the exe file name "create-project" is the keywors, "laravel/laravel" is the keyword, "TestPro1" is the project name.
- This will create a folder "TestPro1" with supporting directories and files.
- Rename "server.php" to "index.php"
open browser with this link :
http://localhost/TestPro1/index.php
You can see default page .
https://getcomposer.org/download/
Here you can find both installer for windows and Unix.
If you are in windows then download here: https://getcomposer.org/Composer-Setup.exe
Before installing Composer check that you must have PHP 5.3 or later.
I am assuming that you are using Wamp 2.5
- Go to in the "c:\wamp\www\" folder
- Open command window and cd in "c:\wamp\www\"
- type "composer create-project laravel/laravel TestPro1" in command window; where composer is the exe file name "create-project" is the keywors, "laravel/laravel" is the keyword, "TestPro1" is the project name.
- This will create a folder "TestPro1" with supporting directories and files.
- Rename "server.php" to "index.php"
open browser with this link :
http://localhost/TestPro1/index.php
You can see default page .
0 comments:
Post a Comment