{"id":14983702,"url":"https://github.com/pfwd/symfony-console-docker-template","last_synced_at":"2026-01-04T03:04:07.769Z","repository":{"id":136248996,"uuid":"175503017","full_name":"pfwd/symfony-console-docker-template","owner":"pfwd","description":"Template for Symfony console within Docker","archived":false,"fork":false,"pushed_at":"2019-03-14T09:20:52.000Z","size":32,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T00:11:23.826Z","etag":null,"topics":["command-line","docker","docker-compose","symfony","symfony-console","symfony3","symfony4","template-project"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfwd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-13T21:39:02.000Z","updated_at":"2021-07-30T16:47:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"1bb86d27-f5c6-424f-b935-a47d9c1f4246","html_url":"https://github.com/pfwd/symfony-console-docker-template","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.33333333333333337","last_synced_commit":"59ab923f1d8d586112427c54ee5b6e30a6c219be"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfwd%2Fsymfony-console-docker-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfwd%2Fsymfony-console-docker-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfwd%2Fsymfony-console-docker-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfwd%2Fsymfony-console-docker-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfwd","download_url":"https://codeload.github.com/pfwd/symfony-console-docker-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864824,"owners_count":20360360,"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","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":["command-line","docker","docker-compose","symfony","symfony-console","symfony3","symfony4","template-project"],"created_at":"2024-09-24T14:07:48.108Z","updated_at":"2026-01-04T03:04:02.737Z","avatar_url":"https://github.com/pfwd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Console Template Within Docker\n\nA template for Symfony console commands to be used within Docker containers\n\n## Requirements\n- Docker version 18.09.2, build 6247962\n- docker-compose version 1.23.2, build 1110ad01\n- docker-machine version 0.16.1, build cce350d7\n\n## Install\n```\n$ docker-machine create symfony-console\n$ docker-machine env symfony-console\n$ eval $(docker-machine env symfony-console)\n$ docker-compose up -d --build\n```\n## Examples\n\n### Enter bash shell\n```\n$ docker-compose exec console bash\n```\n\n### List available commands\n```\n$ docker-compose exec console bin/console\n```\n\n### Run test command\n```\n$ docker-compose exec console bin/console app:test\n```\n\n### Delete container\n```\n$ docker-compose down\n```\n\n### Uninstall / Remove docker-machine\n```\n$ docker-machine stop symfony-console\n$ docker-machine rm symfony-console\n```\n\n## Adding Commands\n\nCreate commands in src/App/Command and add them to `$application` in bin/console\n\nFor an example see src/App/Command/TestCommand.php\n\n## Test Your Scripts\n\n### PHPStan\n```\ndocker-compose exec php bin/phpstan analyse --level=7 src\n```\n\n# Document Your Scripts\n- Create a new markdown file for each script in the [script folder](docs/scripts/script)\n- Add the script documentation to the scripts [index page](docs/scripts/index.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfwd%2Fsymfony-console-docker-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfwd%2Fsymfony-console-docker-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfwd%2Fsymfony-console-docker-template/lists"}