20 lines
495 B
PHP
Executable File
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();
|