Public Repository

Last pushed: a year ago
Short Description
LAMP GIT PSR2 CHECK CONTINUOS INTEGRATION
Full Description

Ubuntu with composer and nano editor
Apache 2
Php 7
Mysql Ver 14.14 Distrib 5.5.49
Git 2.1.4
Prs-1 and psr-2 (http://cs.sensiolabs.org/)
Continuos integration with phpci (https://www.phptesting.org/)

To test connection
nano /var/www/html/index.php
<?php
$servername = "127.0.0.1";
$username = "root";
$password = "123456";

// Create connection
$conn = mysqli_connect($servername, $username, $password);

// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
echo "Connected successfully";
?>

service apache2 start
service msyql start
curl "http://localhost"

To check and fix psr-1 and psr-2
php-cs-fixer fix /var/www/html/index.php

To setup continuos integration:
/var/www/html/phpci/console phpci:install

Docker Pull Command
Owner
diegogplfree