{"id":18929553,"url":"https://github.com/thecodingmachine/pimple-universal-service-provider-bridge","last_synced_at":"2026-03-16T15:30:16.733Z","repository":{"id":57067900,"uuid":"71937051","full_name":"thecodingmachine/pimple-universal-service-provider-bridge","owner":"thecodingmachine","description":"This library allows Pimple containers to use universal service providers as defined in container-interop/service-provider","archived":false,"fork":false,"pushed_at":"2016-10-25T20:57:54.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"1.0","last_synced_at":"2025-02-16T12:30:29.474Z","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-10-25T20:39:08.000Z","updated_at":"2016-10-25T20:49:36.000Z","dependencies_parsed_at":"2022-08-24T10:20:09.815Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/pimple-universal-service-provider-bridge","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/thecodingmachine%2Fpimple-universal-service-provider-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fpimple-universal-service-provider-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fpimple-universal-service-provider-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fpimple-universal-service-provider-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/pimple-universal-service-provider-bridge/tar.gz/refs/heads/1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927825,"owners_count":19719835,"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-11-08T11:33:32.398Z","updated_at":"2026-03-16T15:30:16.655Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/thecodingmachine/pimple-universal-service-provider-bridge/v/stable.svg)](https://packagist.org/packages/thecodingmachine/pimple-universal-service-provider-bridge)\n[![Latest Unstable Version](https://poser.pugx.org/thecodingmachine/pimple-universal-service-provider-bridge/v/unstable.svg)](https://packagist.org/packages/thecodingmachine/pimple-universal-service-provider-bridge)\n[![License](https://poser.pugx.org/thecodingmachine/pimple-universal-service-provider-bridge/license.svg)](https://packagist.org/packages/thecodingmachine/pimple-universal-service-provider-bridge)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/thecodingmachine/pimple-universal-service-provider-bridge/badges/quality-score.png?b=1.0)](https://scrutinizer-ci.com/g/thecodingmachine/pimple-universal-service-provider-bridge/?branch=1.0)\n[![Build Status](https://travis-ci.org/thecodingmachine/pimple-universal-service-provider-bridge.svg?branch=1.0)](https://travis-ci.org/thecodingmachine/pimple-universal-service-provider-bridge)\n[![Coverage Status](https://coveralls.io/repos/thecodingmachine/pimple-universal-service-provider-bridge/badge.svg?branch=1.0)](https://coveralls.io/r/thecodingmachine/pimple-universal-service-provider-bridge?branch=1.0)\n\n\n# container-interop/service-provider bridge for Pimple\n\nRegister `service-providers` as defined in `container-interop` into a Pimple 3 container.\n\n## Installation\n\nAdd the package in composer:\n\n```sh\ncomposer require thecodingmachine/pimple-universal-service-provider-bridge ^1.0\n```\n\n## Usage\n\nCreate a `ServiceProviderPimpleBridge` instance and register container-interop service providers on this instance.\n\n```php\nuse TheCodingMachine\\Pimple\\ServiceProviderPimpleBridge;\n\n// Create your pimple container\n$pimple = new Pimple\\Container();\n\n// Create the bridge\n$bridge = new ServiceProviderPimpleBridge($pimple);\n\n// Now, register any service provider you like (compatible with container-interop/service-provider) on the bridge\n$bridge-\u003eregister(new GlideServiceProvider());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fpimple-universal-service-provider-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fpimple-universal-service-provider-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fpimple-universal-service-provider-bridge/lists"}