Setup a Laravel dev machine

2017-02-06 19:44:51 PHP, DEV, NODE, LUNUX, SYSTEM, LARAVEL

Install required tools to develop Laravel Pages localy with MySQL.

# MySQL 

sudo apt install mysql-server


sudo apt install libnss3-tools jq xsel
sudo apt install php php-cli php-common php-curl php-json php-mbstring php-mcrypt php-mysql php-opcache php-readline php-xml php-zip php-mysql

# Composer

get install from

mv composer.phar /usr/local/bin/composer

# Laravel Globaly

composer global require "laravel/installer"

echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc

source ~/.bashrc

# NPM/Node

curl -sL | sudo -E bash -
sudo apt install -y nodejs  build-essential

sudo npm install -g gulp

# Optional webAdminInterface for sql


with a custom css-file for some nice styling =P


now just

laravel new <NAME> 
cd <NAME>
npm install

Over and out :)