5 Commits

Author SHA1 Message Date
Gregory Letellier
f204e5f13f use renamed kletellier/framework 2023-11-20 10:07:22 +01:00
Gregory Letellier
33f4080ec6 suppression du composer.lock du git 2023-11-17 10:17:23 +01:00
Gregory Letellier
e4505017be ajout rep app dans le beautifier 2023-11-17 10:14:10 +01:00
Gregory Letellier
3338142a7f change version limitation in composer.json 2023-11-17 10:07:50 +01:00
Gregory Letellier
0a16e2ea98 add application in console 2023-11-17 10:05:53 +01:00
4 changed files with 5 additions and 5328 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<ruleset> <ruleset>
<rule ref="PSR12"/> <rule ref="PSR12"/>
<file>src/</file> <file>app/</file>
<file>console</file> <file>console</file>
<arg name="colors"/> <arg name="colors"/>
</ruleset> </ruleset>

View File

@@ -5,8 +5,7 @@
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "~8.1", "php": "~8.1",
"greg/framework": "^1.0", "kletellier/framework": "~1.0"
"kletellier/pdowrapper": "^1.0"
}, },
"repositories": [ "repositories": [
{ {

5325
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,6 +26,9 @@ function findCommandClasses($directory)
* Enable autoload * Enable autoload
*/ */
require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php'; require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php';
// start application
$kapp = new \Kletellier\Framework\Core\Kernel\Application(ROOT);
$application = new Application(); $application = new Application();
// Load all commands in Commands folder // Load all commands in Commands folder