Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3338142a7f | ||
|
|
0a16e2ea98 | ||
|
|
7cee4e1d94 |
@@ -5,8 +5,7 @@
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "~8.1",
|
||||
"greg/framework": "^1.0",
|
||||
"kletellier/pdowrapper": "^1.0"
|
||||
"greg/framework": "~1.0"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
@@ -34,5 +33,10 @@
|
||||
"pestphp/pest-plugin": true,
|
||||
"infection/extension-installer": true
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-root-package-install": [
|
||||
"@php -r \"file_exists('.env') || copy('.env.default', '.env');\""
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
3
console
3
console
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user