https://www.apachefriends.org/download.html
https://getcomposer.org/Composer-Setup.exe
pilih php.exe di -> /xampp/php/php.exe
composer global require "laravel/installer=~1.1"
ini biar bisa -> laravel new blog
setx /M path "%path%;%appdata%\Composer\vendor\bin"
install oh my zsh, dan edit di ~/.zshrc file
export PATH="$PATH:$HOME/.composer/vendor/bin"
cd ke folder yang mau di install laralel misal cd D:/xampp/laravel
lalu
laravel new blog
nanti akan tercreate folder di dalam D:/xampp/laravel/blog
edit D:\xampp\apache\conf\extra\httpd-vhosts.conf
tambah ini
<VirtualHost *:80>
ServerName localhost
DocumentRoot "D:\xampp\htdocs"
<Directory "D:\xampp\htdocs">
DirectoryIndex index.php
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/xampp/htdocs/laravel/blog/public"
ServerName blog.dev
SetEnv APPLICATION_ENV development
<Directory "D:/xampp/htdocs/laravel/blog">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
lalu ke C:\Windows\System32\drivers\etc
dan edit hosts
with administrator
tambah ini 127.0.0.1 blog.dev
stop and restart apache -> klo perlu di close buka lagi app nya
Ini lanjutan untuk Belajar Laravel -> https://gist.github.com/anestan/6f2b325a68192409f96c991aa2d281e7