{"id":15080903,"url":"https://github.com/mloberg/consolebundle","last_synced_at":"2025-10-05T13:30:26.044Z","repository":{"id":34740958,"uuid":"38720303","full_name":"mloberg/ConsoleBundle","owner":"mloberg","description":"Interact with Symfony's container on the command line","archived":true,"fork":false,"pushed_at":"2020-08-23T17:34:17.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-20T03:45:08.048Z","etag":null,"topics":["psysh","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"TeoSellers/FiveM_RP","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mloberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-07T23:29:05.000Z","updated_at":"2023-01-17T15:38:45.000Z","dependencies_parsed_at":"2022-09-15T03:53:30.684Z","dependency_job_id":null,"html_url":"https://github.com/mloberg/ConsoleBundle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloberg%2FConsoleBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloberg%2FConsoleBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloberg%2FConsoleBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloberg%2FConsoleBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mloberg","download_url":"https://codeload.github.com/mloberg/ConsoleBundle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235399012,"owners_count":18983814,"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":["psysh","symfony-bundle"],"created_at":"2024-09-25T05:32:48.001Z","updated_at":"2025-10-05T13:30:25.751Z","avatar_url":"https://github.com/mloberg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConsoleBundle\n\nInteract with Symfony's container through the command line. Uses [Psysh](http://psysh.org/)\nfor the console.\n\n## Installation\n\n    composer require --dev mlo/console-bundle\n\nIf you aren't using Symfony Flex, you will need to register the bundle in\n`AppKernel.php` in the `dev` and/or `test` environment.\n\n```php\nif (in_array($this-\u003egetEnvironment(), array('dev', 'test'))) {\n    $bundles[] = new Mlo\\ConsoleBundle\\MloConsoleBundle();\n}\n```\n\nIf you are using Symfony 4 or lower, require the [v1](https://github.com/mloberg/ConsoleBundle/tree/v1)\nversion of this package.\n\n    composer require --dev mlo/console-bundle:^1.0\n\n## Usage\n\n    bin/console tinker\n\nThis will drop you in a Psysh shell with the variables `$container`, `$kernel`\nand `$this`, which references the container.\n\n## Adding Variables\n\nYou can add custom variables to the shell scope with the following config:\n\n```yaml\nmlo_console:\n    variables:\n        debug: \"%kernel.debug%\"\n        em: \"@doctrine.orm.entity_manager\"\n```\n\nNow you will have a `$debug` variable with the value of the _kernel.debug_\nparameter and `$em` with your entity manager.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloberg%2Fconsolebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmloberg%2Fconsolebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloberg%2Fconsolebundle/lists"}