Commit 672febb4 authored by Marc Egger's avatar Marc Egger
Browse files

new composer in extension dir, bootstrap added with composer autoloader

parent 4e2a07fc
{
"require": {
"phpoffice/phpspreadsheet": "^1.3"
},
"require-dev": {
"phpunit/phpunit": "^6.5"
},
"autoload": {
"psr-4": {
"qfq\\": ["qfq/",
"qfq/api/",
"qfq/external/",
"qfq/qfq/",
"qfq/qfq/database/",
"qfq/qfq/exceptions/",
"qfq/qfq/form/",
"qfq/qfq/helper/",
"qfq/qfq/report/",
"qfq/qfq/store/"]
}
}
}
<?php
/**
* Created by PhpStorm.
* User: megger
* Date: 12/17/18
* Time: 12:17 PM
*/
require_once(__DIR__ . '/../vendor/autoload.php');
/*
spl_autoload_register(function ($class) {
$tmp = explode('\\', $class);
$className = array_pop($tmp);
$file = __DIR__ . '/qfq/helper/' . $className . '.php';
if (file_exists($file))
{
require_once $file;
}
});
*/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment