mirror of
https://github.com/php/web-bugs.git
synced 2026-03-23 23:32:07 +01:00
When developing site locally, developer needs to have data sets to run manual tests, see how the app is built, and similar. The new additional command line command using Symfony/Console component creates a main scripts/console entry point for running Commands. Initial set of demo fixtures data is generated using the faker library and includes most data needed to use and test application manually in the local environment.
16 lines
295 B
PHP
Executable File
16 lines
295 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
/**
|
|
* Main command line console entry application.
|
|
*
|
|
* SYNOPSIS:
|
|
* php scripts/console [command] [<options>] [arguments]
|
|
*/
|
|
|
|
require_once __DIR__.'/../include/prepend.php';
|
|
|
|
use Symfony\Component\Console\Application;
|
|
|
|
$container->get(Application::class)->run();
|