mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
* Simplifies comments * Apply fixes from StyleCI * Removes non used line * remove some comments --------- Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: Taylor Otwell <taylor@laravel.com>
27 lines
717 B
PHP
Executable File
27 lines
717 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
use Symfony\Component\Console\Input\ArgvInput;
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
/**
|
|
* Composer provides a convenient, automatically generated class loader for
|
|
* this application. We just need to utilize it! We'll simply require it
|
|
* into the script here so we don't need to manually load our classes.
|
|
*/
|
|
|
|
require __DIR__.'/vendor/autoload.php';
|
|
|
|
/**
|
|
* When we run the console application, the current CLI command will be
|
|
* executed by an Artisan command and the exit code is given back to
|
|
* the caller. Once the command is handled, the script terminates.
|
|
*/
|
|
|
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
|
|
|
$status = $app->handleCommand(new ArgvInput);
|
|
|
|
exit($status);
|