Created
December 27, 2023 00:36
-
-
Save pferreirafabricio/f8fcee14d9c8cdd8ff057a654d148a13 to your computer and use it in GitHub Desktop.
π A simple start script to build a standalone app using Laravel features
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 | |
require __DIR__ . './vendor/autoload.php'; | |
$app = require_once __DIR__ . './bootstrap/app.php'; | |
$kernel = $app->make(\Illuminate\Contracts\Http\Kernel::class); | |
$response = $kernel->handle( | |
$request = \Illuminate\Http\Request::capture() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment