Skip to content

Instantly share code, notes, and snippets.

@pferreirafabricio
Created December 27, 2023 00:36
Show Gist options
  • Select an option

  • Save pferreirafabricio/f8fcee14d9c8cdd8ff057a654d148a13 to your computer and use it in GitHub Desktop.

Select an option

Save pferreirafabricio/f8fcee14d9c8cdd8ff057a654d148a13 to your computer and use it in GitHub Desktop.

Revisions

  1. pferreirafabricio created this gist Dec 27, 2023.
    9 changes: 9 additions & 0 deletions laravel-simplier-script.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <?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()
    );