Laravel

De Hegyd Doc.

Sommaire

Pré-requis Serveur PHP

Pour fonctionner correctement Laravel a besoin de PHP :

   Version >= 5.5.9
   Extension PDO
   Extension Mbstring
   Extension OpenSSL
   Extension Tokenizer

NB: ces extenetions sont par défaut dans PHP

Installation du driver natif mysql : apt-get install php5-mysqlnd

Installation de composer

http://www.johnstyle.fr/composer-installation-sur-debian-7

Télécharger composer

apt-get update && apt-get install curl
curl -s https://getcomposer.org/installer | php

Déplacer composer dans le dossier /usr/local/bin/

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

Composer est installé

composer --version

Installation nodejs et npm

Site de référence : https://github.com/nodesource/distributions

NodeJS 0.10

curl -sL https://deb.nodesource.com/setup | bash -
apt-get install -y nodejs
apt-get install npm


NodeJS 4

curl -sL https://deb.nodesource.com/setup_4.x | bash -
apt-get install -y nodejs

Il faudra forcer l'update de npm

npm -g install npm@latest

Installation bower et tig

npm install -g bower
apt-get install tig