Added files to leviathan2

This commit is contained in:
absurdo 2023-11-05 17:11:32 +01:00
commit b91fe7b3a3
5 changed files with 1456 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*~
vendor/*

23
composer.json Normal file
View file

@ -0,0 +1,23 @@
{
"name": "phangoapp/leviathan2",
"description": "A dashboard control panel for generic hosting",
"require-dev": {
"phpunit/phpunit": "~4.8@dev"
},
"license": "GPL3",
"authors": [
{
"name": "Antonio de la Rosa",
"email": "antonio.delarosa@cuchulu.com"
}
],
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"PhangoApp\\Leviathan2\\": "src"
}
},
"require": {
"twig/twig": "^3.0"
}
}

1409
composer.lock generated Normal file

File diff suppressed because it is too large Load diff

11
controllers/app.php Normal file
View file

@ -0,0 +1,11 @@
<?php
class AppController {
public function app() {
echo "Welcome to the leviathan!";
}
}

11
src/LevController.php Normal file
View file

@ -0,0 +1,11 @@
use PhangoApp\Leviathan2;
class LevController {
public function __construct() {
}
}