akaunting/artisan

30 lines
675 B
Plaintext
Raw Permalink Normal View History

2017-09-14 22:21:00 +03:00
#!/usr/bin/env php
<?php
2020-06-28 00:24:03 +03:00
/**
* @package Akaunting
2023-03-16 16:36:13 +03:00
* @copyright 2017-2023 Akaunting. All rights reserved.
2020-06-28 00:24:03 +03:00
* @license GNU GPL version 3; see LICENSE.txt
* @link https://akaunting.com
*/
2017-09-14 22:21:00 +03:00
2022-07-14 18:39:01 +03:00
define('LARAVEL_START', microtime(true));
2020-06-28 00:24:03 +03:00
// Register the auto-loader
require __DIR__ . '/bootstrap/autoload.php';
2017-09-14 22:21:00 +03:00
2020-06-28 00:24:03 +03:00
// Load the app
$app = require_once __DIR__ . '/bootstrap/app.php';
2017-09-14 22:21:00 +03:00
2020-06-28 00:24:03 +03:00
// Run the app
2017-09-14 22:21:00 +03:00
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
);
$kernel->terminate($input, $status);
exit($status);