You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simplest way to install and get started is using the skeleton project, which
includes installer scripts for choosing a router, dependency injection
container, and optionally a template renderer and/or error handler. The skeleton
also provides configuration for officially supported dependencies.
To use the skeleton, use Composer's create-project command:
This will prompt you through choosing your dependencies, and then create and
install the project in the <project dir> (omitting the <project dir> will
create and install in a mezzio-skeleton/ directory).
Manual Composer installation
You can install Mezzio standalone using Composer:
composer require mezzio/mezzio
However, at this point, Mezzio is not usable, as you need to supply
minimally:
a router.
a dependency injection container.
We currently support and provide the following routing integrations:
Pimple (see docs for more details):
composer require laminas/laminas-pimple-config
Aura.Di (see docs for more details):
composer require laminas/laminas-auradi-config
Additionally, you may optionally want to install a template renderer
implementation, and/or an error handling integration. These are covered in the
documentation.