Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f204e5f13f | ||
|
|
33f4080ec6 | ||
|
|
e4505017be | ||
|
|
3338142a7f | ||
|
|
0a16e2ea98 | ||
|
|
7cee4e1d94 |
@@ -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>
|
||||||
@@ -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": [
|
||||||
{
|
{
|
||||||
@@ -34,5 +33,10 @@
|
|||||||
"pestphp/pest-plugin": true,
|
"pestphp/pest-plugin": true,
|
||||||
"infection/extension-installer": true
|
"infection/extension-installer": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"post-root-package-install": [
|
||||||
|
"@php -r \"file_exists('.env') || copy('.env.default', '.env');\""
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
5325
composer.lock
generated
5325
composer.lock
generated
File diff suppressed because it is too large
Load Diff
3
console
3
console
@@ -27,6 +27,9 @@ function findCommandClasses($directory)
|
|||||||
*/
|
*/
|
||||||
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
|
||||||
$command_directory = ROOT . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . "Commands";
|
$command_directory = ROOT . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . "Commands";
|
||||||
|
|||||||
Reference in New Issue
Block a user