* some stuff moved to UtilityModule(old DoctrineExpressiveModule)

* api auth in place
This commit is contained in:
Danyi Dávid
2018-05-12 00:14:34 +02:00
parent 68bf4735ad
commit 8cd607b063
48 changed files with 766 additions and 29 deletions

18
bin/cli Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/php
<?php
chdir(__DIR__ . '/..');
require __DIR__ . '/../vendor/autoload.php';
use Symfony\Component\Console\Application;
/** @var \Interop\Container\ContainerInterface $container */
$container = require __DIR__ . '/../config/container.php';
$application = new Application('Application console');
$commands = $container->get('config')['console']['commands'];
foreach ($commands as $command) {
$application->add($container->get($command));
}
$application->run();