Akaunting/artisan

30 lines
661 B
PHP

#!/usr/bin/env php
<?php
/**
* @package Akaunting
* @copyright 2017-2023 Akaunting. All rights reserved.
* @license BSL; see LICENSE.txt
* @link https://akaunting.com
*/
define('LARAVEL_START', microtime(true));
// Register the auto-loader
require __DIR__ . '/bootstrap/autoload.php';
// Load the app
$app = require_once __DIR__ . '/bootstrap/app.php';
// Run the app
$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);