add laravel installation version 5.1.10 (LTS)

This commit is contained in:
Mahmoud Zalt
2015-08-21 14:29:52 +03:00
parent 661f389b38
commit a5954594ad
75 changed files with 5568 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
echo 'Let\'s Start.. ';
try{
$pdo = new \PDO(
'mysql:host=localdock;dbname=laravel', // you need to create the database manually when you boot the mysql docker container
'root',
'pass'
);
echo 'I am connected to the DB. ';
}catch(Exception $e){
echo $e;
}
echo 'Everything is cool.';
phpinfo();