Skip to content

Instantly share code, notes, and snippets.

@atakde
Created April 22, 2023 09:21
Show Gist options
  • Save atakde/7df4b13960aefceb076d2c0d7e634a08 to your computer and use it in GitHub Desktop.
Save atakde/7df4b13960aefceb076d2c0d7e634a08 to your computer and use it in GitHub Desktop.
cli
#!/usr/bin/env php
<?php
use PhpCliAppExample\ExampleCLI as PhpCliAppExampleExampleCLI;
require __DIR__.'/vendor/autoload.php';
$app = new PhpCliAppExampleExampleCLI(new Symfony\Component\Console\Application());
$app->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment