#!/usr/bin/env php
<?php

use Symfony\Component\Console\Input\ArgvInput;

define('LARAVEL_START', microtime(true));

// Suppress deprecated warnings from vendor packages (e.g. PDO::MYSQL_ATTR_SSL_CA on PHP 8.5)
// This can be removed once Laravel Framework officially supports PHP 8.5
error_reporting(E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);

// Register the Composer autoloader...
require __DIR__.'/vendor/autoload.php';

// Bootstrap Laravel and handle the command...
$status = (require_once __DIR__.'/bootstrap/app.php')
    ->handleCommand(new ArgvInput);

exit($status);
