You can install Hiraeth with a few simple composer commands.

Requirements

Create Project

composer create-project hiraeth/app:^3.0 <path> -s dev
cd <path>

Installing Packages

Hiraeth, itself, is just a nano framework. But, a lot of time and energy has been put into creating packages that integrate widely used, well-tested, and feature rich PHP libraries available in the ecosystem. To install a package is as simple as running composer require. Throughout this documentation, packages required for certain functionality will be indicated by the small giftbox icon, like: <package>.

If you’re looking for a turnkey framework in line with most traditional MVC frameworks, go ahead an bootstrap it. From inside your app directory by requiring hiraeth/bootstrap:

composer require hiraeth/bootstrap

Bootstrap provides common web application features like an HTTP entry point, middleware capabilities, routing, events, volumes, cache, CLI comamnds/shell, templating (Twig) and an ORM (Doctrine).

Bootstrap Requirements

In order to install hiraeth/bootstrap you will need the following PHP extensions installed as these are minimal dependencies in the downstream packages:


Okay, What’s Next? I prefer a more selective install