2 Commits
1.0.2 ... 1.0.3

Author SHA1 Message Date
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
2 changed files with 4 additions and 2 deletions

View File

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

View File

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