{"id":95324,"library":"extendsframework-extends-servicelocator","title":"Extends Service Locator","description":"Service locator component from Extends Framework.","status":"active","version":"0.1.6","language":"php","source_language":null,"source_url":"https://github.com/extendsframework/extends-servicelocator","tags":["framework","service-locator","dependency-injection"],"install":[{"cmd":"composer require extendsframework/extends-servicelocator","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ServiceLocator","correct":"use ExtendsFramework\\ServiceLocator\\ServiceLocator;"}],"quickstart":{"code":"use ExtendsFramework\\ServiceLocator\\ServiceLocator;\n\n$locator = new ServiceLocator();\n$locator->set('db', new PDO('mysql:host=localhost;dbname=test', 'user', 'pass'));\n$db = $locator->get('db');","lang":"php","description":"Register and retrieve a service from the locator"},"warnings":[],"env_vars":null,"search_vec":"'compon':6 'depend':15 'dependency-inject':14 'extend':1,8 'framework':9,10 'inject':16 'locat':3,5,13 'servic':2,4,12 'service-loc':11","created_at":"2026-06-19T10:27:13.645353+00:00","updated_at":"2026-06-19T10:27:13.645353+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/extendsframework/extends-servicelocator","github":"https://github.com/extendsframework/extends-servicelocator","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}