{"id":19959706,"url":"https://github.com/reinfi/zf-request-listener","last_synced_at":"2026-05-10T13:47:12.222Z","repository":{"id":23627945,"uuid":"99429079","full_name":"reinfi/zf-request-listener","owner":"reinfi","description":"Add listeners either for http requests or console requests.","archived":false,"fork":false,"pushed_at":"2021-12-26T18:16:34.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T07:35:49.554Z","etag":null,"topics":["console","http","listener","zend-framework"],"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/reinfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-08-05T14:52:57.000Z","updated_at":"2021-12-26T18:12:36.000Z","dependencies_parsed_at":"2022-07-15T13:47:08.306Z","dependency_job_id":null,"html_url":"https://github.com/reinfi/zf-request-listener","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinfi%2Fzf-request-listener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinfi%2Fzf-request-listener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinfi%2Fzf-request-listener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinfi%2Fzf-request-listener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reinfi","download_url":"https://codeload.github.com/reinfi/zf-request-listener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241390204,"owners_count":19955278,"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":["console","http","listener","zend-framework"],"created_at":"2024-11-13T01:51:08.300Z","updated_at":"2026-05-10T13:47:07.191Z","avatar_url":"https://github.com/reinfi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Reinfi\\RequestListener\n==============\n\n### Deprecated\n\nThis module is deprecated as laminas/laminas-mvc-console and laminas-console is deprecated.\nUsing laminas-cli does not trigger any listeners.\n\nMove your `http_listener` to `listeners` in your configuration.\n\n### Description\n\n\nThis module can add listeners only for HTTP or Console Requests.\n\nInstallation\n------------\n\nModule can be easily installed with composer. Just ask a composer to download the bundle with dependencies by running the command:\n\n```bash\n$ composer require reinfi/zf-request-listener\n```\n\nAdd the `Reinfi\\RequestListener` to your list of modules in the config/application.config.php `modules` array:\n```php\n// config/application.config.php\n\n    // This should be an array of module namespaces used in the application.\n    'modules' =\u003e array(\n        'Reinfi\\RequestListener',\n        'Application',\n    ),\n```\n\nConfiguration\n-------------\n\nInstead of adding every listener to `listeners` you can add the following:\n\n```\n[\n    'cli_listeners' =\u003e [\n        NameSpace\\YourClass::class,\n    ],\n    'http_listeners' =\u003e [\n        NameSpace\\YourClass::class,\n    ],\n]\n```\n\nLicense\n-------\n\nThis module is under the MIT license. See the complete LICENSE in the root directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freinfi%2Fzf-request-listener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freinfi%2Fzf-request-listener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freinfi%2Fzf-request-listener/lists"}