{"id":91692,"library":"endclothing-prometheus-client-php","title":"Prometheus Client PHP","description":"Prometheus instrumentation library for PHP applications.","status":"active","version":"1.0.1","language":"php","source_language":null,"source_url":"https://github.com/endclothing/prometheus_client_php","tags":["prometheus","metrics","monitoring"],"install":[{"cmd":"composer require endclothing/prometheus_client_php","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"CollectorRegistry","correct":"use Prometheus\\CollectorRegistry;"}],"quickstart":{"code":"use Prometheus\\CollectorRegistry;\n\n$registry = new CollectorRegistry();\n$counter = $registry->registerCounter('app', 'requests_total', 'Total requests');\n$counter->inc();","lang":"php","description":"Create and use a Prometheus counter"},"warnings":[{"fix":"Install and configure a storage adapter like prometheus/prometheus_redis","message":"Requires a storage adapter (e.g., Redis, APCu) for production use","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'applic':9 'client':2 'instrument':5 'librari':6 'metric':11 'monitor':12 'php':3,8 'prometheus':1,4,10","created_at":"2026-06-19T09:21:21.666889+00:00","updated_at":"2026-06-19T09:21:21.666889+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/endclothing/prometheus_client_php","github":"https://github.com/endclothing/prometheus_client_php","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability"],"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}}