10 lines
385 B
PHP
10 lines
385 B
PHP
<?php
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
$app = require_once __DIR__ . '/bootstrap/app.php';
|
|
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
|
$kernel->bootstrap();
|
|
|
|
$token = \Illuminate\Support\Facades\DB::table('personal_access_tokens')->first(); // wait, backend holds tokens, not frontend. Frontend uses session.
|
|
// So we can't easily test without a token.
|