summaryrefslogtreecommitdiff
path: root/artisan
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nvandoorn.com>2025-04-21 15:04:28 -0700
committerNick Van Doorn <nick@nvandoorn.com>2025-04-21 15:04:28 -0700
commit9cdf46ae1ceff8dce9dd5b1c8587f2d948a88e2c (patch)
tree863cf7e6738a4cd432ac9c0106d48bb2294d0f32 /artisan
Initial commitHEADmaster
Diffstat (limited to 'artisan')
-rwxr-xr-xartisan18
1 files changed, 18 insertions, 0 deletions
diff --git a/artisan b/artisan
new file mode 100755
index 0000000..c35e31d
--- /dev/null
+++ b/artisan
@@ -0,0 +1,18 @@
+#!/usr/bin/env php
+<?php
+
+use Illuminate\Foundation\Application;
+use Symfony\Component\Console\Input\ArgvInput;
+
+define('LARAVEL_START', microtime(true));
+
+// Register the Composer autoloader...
+require __DIR__.'/vendor/autoload.php';
+
+// Bootstrap Laravel and handle the command...
+/** @var Application $app */
+$app = require_once __DIR__.'/bootstrap/app.php';
+
+$status = $app->handleCommand(new ArgvInput);
+
+exit($status);