- Easy deployment and setup
- Config as php files with support of lookup tables
- Simple file names conventions
- One core for multiple projects
- Autoloader with vendor support
- CLI support
- PHP >= 8.5
You have three options how to start using this framework:
- Install (clone) the framework to own directory and add into your project composer PSR-4 autoloader path
"Dragon": "path/to/DragonCore". - Require this framework as a dependency in your project
composer require stefanak-michal/dragoncore. - Use composer to create project with framework
composer create-project stefanak-michal/dragoncoreand add your project files right into it.
After that you just have to call constructor of \Dragon\Application in your project start file (usually index.php):
require_once __DIR__ . '/vendor/autoload.php';
$application = new Dragon\Application();
$application->run();Check documentation for more informations.