{"id":22564617,"url":"https://github.com/lansoweb/response-time","last_synced_at":"2025-07-05T07:02:05.845Z","repository":{"id":52247674,"uuid":"46558881","full_name":"Lansoweb/response-time","owner":"Lansoweb","description":"PHP middleware to add a response time header to the response","archived":false,"fork":false,"pushed_at":"2023-09-19T16:24:37.000Z","size":28,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"2.3.x","last_synced_at":"2025-04-08T07:06:05.016Z","etag":null,"topics":["middleware","php","response-time"],"latest_commit_sha":null,"homepage":"","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/Lansoweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"Lansoweb"}},"created_at":"2015-11-20T11:44:41.000Z","updated_at":"2023-09-24T00:44:42.000Z","dependencies_parsed_at":"2022-08-22T09:31:39.154Z","dependency_job_id":null,"html_url":"https://github.com/Lansoweb/response-time","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lansoweb%2Fresponse-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lansoweb%2Fresponse-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lansoweb%2Fresponse-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lansoweb%2Fresponse-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lansoweb","download_url":"https://codeload.github.com/Lansoweb/response-time/tar.gz/refs/heads/2.3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248209336,"owners_count":21065319,"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":["middleware","php","response-time"],"created_at":"2024-12-07T23:16:58.694Z","updated_at":"2025-04-10T11:38:28.194Z","avatar_url":"https://github.com/Lansoweb.png","language":"PHP","funding_links":["https://github.com/sponsors/Lansoweb"],"categories":[],"sub_categories":[],"readme":"# Response Time Middleware for PHP\n\nThis middleware adds a Response Time header\n\n## Usage\n\nJust add the middleware as one of the first in your application.\n\nFor example:\n```php\n$app-\u003epipe(new \\Los\\ResponseTime\\ResponseTime($options);\n```\n\nAnd the middleware will add a header\n```\nX-Request-Time: 49,96ms\n```\n\nThe options are:\n* header_name: Header name. Default: X-Response-Time \n\n### Mezzio\n\nIf you are using [mezzio-skeleton](https://github.com/mezzio/mezzio-skeleton), \nyou can copy `config/los-response-time.global.php.dist` to \n`config/autoload/los-response-time.global.php` and modify configuration as your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flansoweb%2Fresponse-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flansoweb%2Fresponse-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flansoweb%2Fresponse-time/lists"}