artisan 376 B

123456789101112131415
  1. #!/usr/bin/env php
  2. <?php
  3. // artisan 命令行工具
  4. use Symfony\Component\Console\Input\ArgvInput;
  5. define('LARAVEL_START', microtime(true));
  6. // Register the Composer autoloader...
  7. require __DIR__.'/vendor/autoload.php';
  8. // Bootstrap Laravel and handle the command...
  9. $status = (require_once __DIR__.'/bootstrap/app.php')
  10. ->handleCommand(new ArgvInput);
  11. exit($status);