{"id":19345253,"url":"https://github.com/krakphp/symfony-playground","last_synced_at":"2026-05-13T01:35:30.569Z","repository":{"id":57009034,"uuid":"146062825","full_name":"krakphp/symfony-playground","owner":"krakphp","description":"Symfony Dev Playground for Testing Code","archived":false,"fork":false,"pushed_at":"2023-04-13T13:31:44.000Z","size":61,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T05:26:03.205Z","etag":null,"topics":["playground","symfony","symfony-bundle","symfony4","tinker"],"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/krakphp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2018-08-25T03:52:18.000Z","updated_at":"2023-04-13T13:31:48.000Z","dependencies_parsed_at":"2024-11-10T04:05:58.408Z","dependency_job_id":"bd4b0423-3e63-4d25-8130-a4a37b40ad42","html_url":"https://github.com/krakphp/symfony-playground","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.4444444444444444,"last_synced_commit":"f4e4c08f1f75f7a1252d0009d72f7653ca360ab2"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/krakphp/symfony-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krakphp","download_url":"https://codeload.github.com/krakphp/symfony-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32964052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["playground","symfony","symfony-bundle","symfony4","tinker"],"created_at":"2024-11-10T04:05:53.520Z","updated_at":"2026-05-13T01:35:30.550Z","avatar_url":"https://github.com/krakphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Playground\n\nSymfony playground enables developers to quickly test any code in their system and access any of the private services in their app.\n\n## Installation\n\nInstall with composer at `krak/symfony-playground`.\n\nThen you need to change the PlaygroundBundle in your `config/bundles.php` file to be dev only:\n\n```php\n\nreturn [\n    // ...\n    Krak\\SymfonyPlayground\\PlaygroundBundle::class =\u003e ['dev' =\u003e true],\n];\n```\n\n## Usage\n\nTo enable the playground, you can create a playground.php in the project root: `%kernel.project_dir%/playground.php`.\n\nThis file needs to return a closure. Here's an example:\n\n```php\n\u003c?php\n\n/** this function is autowired, so type hint any service to access it here */\nreturn function(App\\Service\\MyService $service, Psr\\Log\\LoggerInterface $log) {\n    $log-\u003einfo(\"Playing with my symfony app!\");\n};\n```\n\nYou should be able to run this with: `./bin/console playground`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrakphp%2Fsymfony-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrakphp%2Fsymfony-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrakphp%2Fsymfony-playground/lists"}