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
Backup & Restore Database
###. Install ini untuk 5.5 https://github.com/backup-manager/laravel#installation
kalau error bisa pake ini
1- Add service provider to providers array on the config/app.php
2- Run php artisan config:cache
3- Run composer update
4- Run php artisan config:cache
5- Run php artisan vendor:publish
Nanti ada file config/backup-manager.php