{"id":24519431,"url":"https://github.com/mezzio/mezzio","last_synced_at":"2025-05-15T12:03:54.906Z","repository":{"id":36930948,"uuid":"231145040","full_name":"mezzio/mezzio","owner":"mezzio","description":"PSR-15 Middleware Microframework","archived":false,"fork":false,"pushed_at":"2025-05-12T08:01:08.000Z","size":13317,"stargazers_count":353,"open_issues_count":22,"forks_count":52,"subscribers_count":33,"default_branch":"3.22.x","last_synced_at":"2025-05-12T09:27:37.965Z","etag":null,"topics":["middleware","middleware-framework","psr-15"],"latest_commit_sha":null,"homepage":"https://docs.mezzio.dev/mezzio/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mezzio.png","metadata":{"funding":{"community_bridge":"laminas-project"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-31T20:49:35.000Z","updated_at":"2025-05-12T08:00:43.000Z","dependencies_parsed_at":"2023-02-19T11:31:38.732Z","dependency_job_id":"e8998860-5dac-4e32-90f7-f4f15fe30809","html_url":"https://github.com/mezzio/mezzio","commit_stats":{"total_commits":1676,"total_committers":118,"mean_commits":"14.203389830508474","dds":"0.46897374701670647","last_synced_commit":"e6178aa211167247b7d5f60d29f28f73e42e6a60"},"previous_names":[],"tags_count":89,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezzio%2Fmezzio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezzio%2Fmezzio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezzio%2Fmezzio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezzio%2Fmezzio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mezzio","download_url":"https://codeload.github.com/mezzio/mezzio/tar.gz/refs/heads/3.22.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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","middleware-framework","psr-15"],"created_at":"2025-01-22T01:51:14.430Z","updated_at":"2025-05-15T12:03:54.842Z","avatar_url":"https://github.com/mezzio.png","language":"PHP","funding_links":["https://funding.communitybridge.org/projects/laminas-project"],"categories":["PHP","Table of Contents"],"sub_categories":["Framework"],"readme":"# mezzio\n\n[![Build Status](https://github.com/mezzio/mezzio/workflows/Continuous%20Integration/badge.svg)](https://github.com/mezzio/mezzio/actions?query=workflow%3A\"Continuous+Integration\")\n[![Type Coverage](https://shepherd.dev/github/mezzio/mezzio/coverage.svg)](https://shepherd.dev/github/mezzio/mezzio)\n\n*Develop PSR-7 middleware applications in minutes!*\n\nmezzio builds on [laminas-stratigility](https://github.com/laminas/laminas-stratigility)\nto provide a minimalist PSR-7 middleware framework for PHP, with the following\nfeatures:\n\n- Routing. Choose your own router; we support:\n    - [FastRoute](https://github.com/nikic/FastRoute)\n    - [laminas-router](https://github.com/mezzio/mezzio-router)\n- DI Containers, via [PSR-11 Container](https://github.com/php-fig/container).\n  Middleware matched via routing is retrieved from the composed container.\n- Optionally, templating. We support:\n    - [Plates](http://platesphp.com/)\n    - [Twig](http://twig.sensiolabs.org/)\n    - [Laminas's PhpRenderer](https://github.com/laminas/laminas-view)\n\n## Installation\n\nWe provide two ways to install Mezzio, both using\n[Composer](https://getcomposer.org): via our\n[skeleton project and installer](https://github.com/mezzio/mezzio-skeleton),\nor manually.\n\n### Using the skeleton + installer\n\nThe simplest way to install and get started is using the skeleton project, which\nincludes installer scripts for choosing a router, dependency injection\ncontainer, and optionally a template renderer and/or error handler. The skeleton\nalso provides configuration for officially supported dependencies.\n\nTo use the skeleton, use Composer's `create-project` command:\n\n```bash\ncomposer create-project mezzio/mezzio-skeleton \u003cproject dir\u003e\n```\n\nThis will prompt you through choosing your dependencies, and then create and\ninstall the project in the `\u003cproject dir\u003e` (omitting the `\u003cproject dir\u003e` will\ncreate and install in a `mezzio-skeleton/` directory).\n\n### Manual Composer installation\n\nYou can install Mezzio standalone using Composer:\n\n```bash\ncomposer require mezzio/mezzio\n```\n\nHowever, at this point, Mezzio is not usable, as you need to supply\nminimally:\n\n- a router.\n- a dependency injection container.\n\nWe currently support and provide the following routing integrations:\n\n- [FastRoute](https://github.com/nikic/FastRoute):\n  `composer require mezzio/mezzio-fastroute`\n- [laminas-router](https://github.com/mezzio/mezzio-router):\n  `composer require mezzio/mezzio-laminasrouter`\n\nWe recommend using a dependency injection container, and typehint against\n[PSR-11 Container](https://github.com/php-fig/container). We\ncan recommend the following implementations:\n\n- [laminas-servicemanager](https://github.com/laminas/laminas-servicemanager):\n  `composer require laminas/laminas-servicemanager`\n- [Pimple](https://github.com/silexphp/Pimple) (see [docs](docs/book/features/container/pimple.md) for more details):\n  `composer require laminas/laminas-pimple-config`\n- [Aura.Di](https://github.com/auraphp/Aura.Di) (see [docs](docs/book/features/container/aura-di.md) for more details):\n  `composer require laminas/laminas-auradi-config`\n\nAdditionally, you may optionally want to install a template renderer\nimplementation, and/or an error handling integration. These are covered in the\ndocumentation.\n\n## Documentation\n\nDocumentation is [in the doc tree](docs/book/), and can be compiled using [mkdocs](https://www.mkdocs.org):\n\n```bash\nmkdocs build\n```\n\nAdditionally, public-facing, browseable documentation is available at\n\u003chttps://docs.mezzio.dev/mezzio/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezzio%2Fmezzio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmezzio%2Fmezzio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezzio%2Fmezzio/lists"}