<?php
include 'core/vendor/autoload.php';
$app = include_once 'core/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);

use Illuminate\Support\Facades\Artisan;

Artisan::call('view:clear');
Artisan::call('cache:clear');

echo "Views and Cache cleared successfully!";
unlink(__FILE__);
