Install PHP
In Control Panel window, choose Programs.
In Programs and Features, choose Turn Windows features on or off.
Check Internet Information Service and click OK button.
Download Web Platform Installer from http://www.microsoft.com/web/downloads/platform.aspx
Run wpilauncher.exe
In Web Platform Installer window, choose Products tab and search PHP version that we will install.
Click Add button.
Click Install button.
Install Composer
https://getcomposer.org/download/
Download the Windows Installer
Install Laravel
http://laravel.com/laravel.phar
Move the laravel.phar folder to C:\ProgramData\ComposerSetup\bin
Create a file called laravel.bat put:
@ECHO OFF
php "%~dp0laravel.phar" %*
Create a file called laravel put:
dir=$(d=$(dirname "$0"); cd "$d" && pwd)
if command -v 'cygpath' >/dev/null 2>&1; then
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m $dir);
fi
fi
dir=$(echo $dir | sed 's/ /\ /g')
php "${dir}/laravel.phar" $*
Goto project directory and type:
laraval new laravel
Lamp alias to set up Vagrant
lamp=curl -L -o install.sh https://raw.github.com/expositor/LaravelVagrant/master/install.sh && curl -L -o Vagrantfile https://raw.github.com/expositor/LaravelVagrant/master/Vangrantfile && vagrant up
Set host redirect
edit C:\Windows\System32\drivers\etc\hosts
# Vagrant Redirect
192.168.33.21 app.dev
192.168.33.21 laravel.dev
Install PhpMyAdmin
sudo apt-get install phpmyadmin
sudo nano /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf
sudo /etc/init.d/apache2 restart
Keygen for Git
ssh-keygen -t rsa -C "lee4runner@hotmail.com"
cp id_rsa.pub /vagrant
ssh -T git@github.com