{"id":18929542,"url":"https://github.com/thecodingmachine/symfony-console-universal-module","last_synced_at":"2025-10-15T13:32:28.447Z","repository":{"id":57067917,"uuid":"76273327","full_name":"thecodingmachine/symfony-console-universal-module","owner":"thecodingmachine","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-14T15:40:54.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-30T05:47:12.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-12T16:13:56.000Z","updated_at":"2016-12-12T17:10:35.000Z","dependencies_parsed_at":"2022-08-24T14:54:08.377Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/symfony-console-universal-module","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thecodingmachine/symfony-console-universal-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsymfony-console-universal-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsymfony-console-universal-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsymfony-console-universal-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsymfony-console-universal-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/symfony-console-universal-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsymfony-console-universal-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279083423,"owners_count":26099643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:33:27.060Z","updated_at":"2025-10-15T13:32:28.417Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/thecodingmachine/symfony-console-universal-module/v/stable)](https://packagist.org/packages/thecodingmachine/symfony-console-universal-module)\n[![Latest Unstable Version](https://poser.pugx.org/thecodingmachine/symfony-console-universal-module/v/unstable)](https://packagist.org/packages/thecodingmachine/symfony-console-universal-module)\n[![License](https://poser.pugx.org/thecodingmachine/symfony-console-universal-module/license)](https://packagist.org/packages/thecodingmachine/symfony-console-universal-module)\n\n# Symfony console universal module\n\nThis package integrates [symfony/console](https://github.com/symfony/console) in any [container-interop](https://github.com/container-interop/service-provider) compatible framework/container.\n\n## Installation\n\n```\ncomposer require thecodingmachine/symfony-console-universal-module\n```\n\nOnce installed, you need to register the [`TheCodingMachine\\SymfonyConsoleServiceProvider`](src/SymfonyConsoleServiceProvider.php) into your container.\n\nIf your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register *service providers*.\n\n## Introduction\n\nThis service provider is meant to create a Symfony console in your container.\n\nYou can access the console using: `vendor/bin/app_console`.\n\nFor the console to work, you need to have a `container.php` file at the root of your project or in the 'config' directory. This file MUST returns your application's container.\nThis file will be used by the Symfony console to access and start the application.\n\nSample:\n\n**container.php** (or **config/container.php**)\n```php\n\u003c?php\nuse Simplex\\Container;\n\n$container = new Container([new \\TheCodingMachine\\SymfonyConsoleServiceProvider()]);\n\nreturn $container;\n```\n\n## Provided services\n\nThis *service provider* provides the following services:\n\n| Service name                | Description                          |\n|-----------------------------|--------------------------------------|\n| `HelperSet::class`          | An empty HelperSet                   |\n| `Application::class`        | An empty console application         |\n\n\n\u003csmall\u003eProject template courtesy of \u003ca href=\"https://github.com/thecodingmachine/service-provider-template\"\u003ethecodingmachine/service-provider-template\u003c/a\u003e\u003c/small\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fsymfony-console-universal-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fsymfony-console-universal-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fsymfony-console-universal-module/lists"}