Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rostenkowski/console
Symfony Console integration for Nette Framework
https://github.com/rostenkowski/console
integration nette-framework php7 symfony-console
Last synced: about 1 month ago
JSON representation
Symfony Console integration for Nette Framework
- Host: GitHub
- URL: https://github.com/rostenkowski/console
- Owner: rostenkowski
- License: bsd-3-clause
- Created: 2017-10-08T01:58:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T13:30:13.000Z (over 6 years ago)
- Last Synced: 2024-11-13T14:51:49.859Z (about 2 months ago)
- Topics: integration, nette-framework, php7, symfony-console
- Language: PHP
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Console
Latest [Symfony Console](https://symfony.com/doc/current/components/console.html) integration for [Nette Framework](https://nette.org)
[![Build Status](https://travis-ci.org/rostenkowski/console.svg?branch=master)](https://travis-ci.org/rostenkowski/console)
[![Coverage Status](https://coveralls.io/repos/github/rostenkowski/console/badge.svg)](https://coveralls.io/github/rostenkowski/console)
[![Code Climate](https://codeclimate.com/github/rostenkowski/console/badges/gpa.svg)](https://codeclimate.com/github/rostenkowski/console)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/rostenkowski/console/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/rostenkowski/console/?branch=master)## Installation
```bash
composer require rostenkowski/console
```## Usage
Register extension in `config.neon`.
```yaml
extensions:
console: Rostenkowski\Console\Extension
```List your command in the `console.commands` configuration section.
```yaml
console:
commands:
foo: MyNamespace\FooCommand
```Alternatively you can add your command as a service.
```yaml
services:
fooCommand: MyNamespace\FooCommand
```