Created
June 12, 2018 12:54
-
-
Save drasill/734b44c8fee867e59e39c52273945f11 to your computer and use it in GitHub Desktop.
Bootstrap laravel app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
require __DIR__.'/bootstrap/autoload.php'; | |
$app = require_once __DIR__.'/bootstrap/app.php'; | |
$kernel = $app->make(\Illuminate\Contracts\Console\Kernel::class); | |
$kernel->bootstrap(); | |
\DB::statement("..."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment