Files
laravel_school_api/vendor/orchestra/canvas/canvas
T
2026-05-30 01:11:35 -04:00

20 lines
495 B
PHP
Executable File

#!/usr/bin/env php
<?php
define('CANVAS_WORKING_PATH', $workingPath = getcwd());
define('TESTBENCH_WORKING_PATH', $workingPath);
require $_composer_autoload_path ?? __DIR__.'/vendor/autoload.php';
$config = Orchestra\Testbench\Foundation\Config::loadFromYaml(
workingPath: $workingPath,
defaults: [
'providers' => [],
'dont-discover' => [],
],
);
$commander = new Orchestra\Canvas\Console\Commander($config->getAttributes(), $workingPath);
$commander->handle();