{"id":22092120,"url":"https://github.com/krakphp/symfony-util","last_synced_at":"2025-09-17T20:17:34.812Z","repository":{"id":57009063,"uuid":"153539599","full_name":"krakphp/symfony-util","owner":"krakphp","description":"Symfony Utilities","archived":false,"fork":false,"pushed_at":"2019-05-02T18:16:42.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T06:52:26.488Z","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":"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}},"created_at":"2018-10-18T00:14:17.000Z","updated_at":"2019-05-02T18:16:43.000Z","dependencies_parsed_at":"2022-08-21T13:10:13.498Z","dependency_job_id":null,"html_url":"https://github.com/krakphp/symfony-util","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fsymfony-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krakphp","download_url":"https://codeload.github.com/krakphp/symfony-util/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186925,"owners_count":20574554,"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":[],"created_at":"2024-12-01T03:08:22.735Z","updated_at":"2025-09-17T20:17:29.749Z","avatar_url":"https://github.com/krakphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Util\n\nSymfony util provides common utilies and extensions that promote certain styles of developing symfony apps.\n\n## Installation\n\nInstall with composer at `krak/symfony-util`.\n\n\n## Usage\n\n### DependencyInjection\n\n#### createLoader\n\nCreates a fully featured delegating loader similar to the default loader created in the root Kernel class. This is useful simplifying the configuration and imports for Apps with multiple bundles.\n\n#### registerTaggedServiceLocator\n\nPerforms the boiler plate of registering a service locator of a specific for a specific service.\n\n#### createServiceReferenceMapFromTaggedIds\n\nCreates a reference map to be used for a ServiceLocator from a set of taggedIds and an optional keyAttribute to search the tags and use as the key. If no keyAttribute is provided or if no tags contain that key, then it just defaults to use the id as the reference map keys.\n\n#### pickLastAttributeFromTags\n\nWhen finding registered tags, symfony will return an array of tags per id. There are times when you just want to pick out one attribute from the tags, but you need to do it from the last defined tag. This method handles that for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrakphp%2Fsymfony-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrakphp%2Fsymfony-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrakphp%2Fsymfony-util/lists"}