PHPackages                             ricotta/app - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ricotta/app

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ricotta/app
===========

Ricotta app library

0.5.2(11mo ago)06MITPHPPHP &gt;=8.4CI passing

Since Mar 3Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/thomasnordahl-dk/app)[ Packagist](https://packagist.org/packages/ricotta/app)[ RSS](/packages/ricotta-app/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (18)Versions (8)Used By (0)

[![Tests](https://github.com/thomasnordahl-dk/app/actions/workflows/tests.yml/badge.svg)](https://github.com/thomasnordahl-dk/app/actions/workflows/tests.yml)

ricotta/app
===========

[](#ricottaapp)

**ricotta/app** is the core application of the Ricotta framework.

- [License](LICENCE.md)
- [Contributing Guidelines](CONTRIBUTING.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Roadmap](ROADMAP.md)

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Basic Setup](#basic-setup)
    - [Routing](#routing)
    - [Controller Classes](#controller-classes)
    - [Dependency Injection](#dependency-injection)
    - [Modules](#modules)
    - [Configuration Interface](#configuration-interface)
    - [Advanced Routing](#advanced-routing)
    - [Middleware](#middleware)
    - [Templates](#templates)
    - [Result Models](#result-models)
    - [Error Handling](#error-handling)
    - [Console Commands](#console-commands)

Installation
------------

[](#installation)

Install the framework via Composer:

```
composer require ricotta/app
```

Usage
-----

[](#usage)

### Basic Setup

[](#basic-setup)

Create an `index.php` file in your webroot directory to bootstrap the application:

```
