Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hacfi/symfony-cli-di-template
Template for Symfony CLI App with Dependency Injection - using box-project/scaffold
https://github.com/hacfi/symfony-cli-di-template
Last synced: 12 days ago
JSON representation
Template for Symfony CLI App with Dependency Injection - using box-project/scaffold
- Host: GitHub
- URL: https://github.com/hacfi/symfony-cli-di-template
- Owner: hacfi
- License: mit
- Created: 2015-01-24T21:13:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-24T22:09:17.000Z (almost 10 years ago)
- Last Synced: 2024-10-30T01:41:47.693Z (about 2 months ago)
- Language: PHP
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Symfony CLI App with Dependency Injection
Using [box-project/scaffold](https://github.com/box-project/scaffold)
## Add command
Check out `src/App/Command/TestCommand.php` and `services.yml` to see how it’s done. Basically
## Build Phar
To create a Phar archive from your project install [box-project/box2](https://github.com/box-project/box2) globally via composer:
```sh
composer global require kherge/box --prefer-source
```Then run
```sh
box build
```to create it. Edit the `box.json` to make changes to the phar.