Skip to content

Commit 09a1bd9

Browse files
committed
Composer support added
1 parent 4647196 commit 09a1bd9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

application/Init/Autoloader.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,9 @@
3131
require SysConf_Path::getApplication() . 'Autoloaders/ApplicationModules.php';
3232
Autoloader_ApplicationModules::register();
3333

34+
$composer_autoloader = SysConf_Path::getLibrary().'Composer/autoload.php';
35+
if(file_exists(stream_resolve_include_path($composer_autoloader))) {
36+
include_once $composer_autoloader;
37+
}
3438

3539
//Debug_Profiler::blockEnd('INIT - Autoloader');

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mirekmarek/php-jet",
3-
"description": "PHP Jet is modern, powerful, real-life proven, really fast and secure, small and light-weight framework for PHP8 with great clean and flexible modular architecture containing awesone developing tools. No magic, just clean software engineering.",
3+
"description": "PHP Jet is modern, powerful, real-life proven, really fast and secure, small and light-weight framework for PHP8 with great clean and flexible modular architecture containing awesome developing tools. No magic, just clean software engineering.",
44
"type": "project",
55
"keywords": ["php", "php8", "framework", "mvc", "modularity", "microservices", "orm", "redis", "mysql", "sqlite","localization","multiregional", "deb-tool", "profiler"],
66
"homepage": "https://www.php-jet.net/",

0 commit comments

Comments
 (0)