PHPackages                             horizom/core - 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. horizom/core

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

horizom/core
============

The Horizom Core package.

5.2.0(2mo ago)13711MITPHPPHP ^8.0

Since Jul 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/horizom/core)[ Packagist](https://packagist.org/packages/horizom/core)[ Docs](https://horizom.github.io)[ RSS](/packages/horizom-core/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (44)Versions (9)Used By (1)

horizom/core
============

[](#horizomcore)

[![](https://camo.githubusercontent.com/62380dbb63cdb97c3cb0d517f9a7b32b85320f06b0671ec5be2d3be4d9b16b01/68747470733a2f2f686f72697a6f6d2e6769746875622e696f2f696d672f686f72697a6f6d2d6c6f676f2d636f6c6f722e737667)](https://camo.githubusercontent.com/62380dbb63cdb97c3cb0d517f9a7b32b85320f06b0671ec5be2d3be4d9b16b01/68747470733a2f2f686f72697a6f6d2e6769746875622e696f2f696d672f686f72697a6f6d2d6c6f676f2d636f6c6f722e737667)

[![Total Downloads](https://camo.githubusercontent.com/443dc38f61c6e6a14c7b16940df43102b735ffeae2aeca85384b1944073329ef/68747470733a2f2f706f7365722e707567782e6f72672f686f72697a6f6d2f636f72652f642f746f74616c2e737667)](https://packagist.org/packages/horizom/core)[![Latest Stable Version](https://camo.githubusercontent.com/340ef9e8a02454a9800e827fdf46ec5c3d21e7f777ef0592d315b9d40b48ef16/68747470733a2f2f706f7365722e707567782e6f72672f686f72697a6f6d2f636f72652f762f737461626c652e737667)](https://packagist.org/packages/horizom/core)[![License](https://camo.githubusercontent.com/58f1fa0b6ed7a7426820aedc1d1cbceea2ca53eeb986a09a151738e26bcaa901/68747470733a2f2f706f7365722e707567782e6f72672f686f72697a6f6d2f636f72652f6c6963656e73652e737667)](https://packagist.org/packages/horizom/core)[![PHP Version](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)[![PHPUnit](https://camo.githubusercontent.com/b49dbf0775bd1e9515626b301e4d6fc41da14dfa9f22d4fa0c70dddc557fb8e3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f746573746564253230776974682d504850556e697425323031312d627269676874677265656e)](https://camo.githubusercontent.com/b49dbf0775bd1e9515626b301e4d6fc41da14dfa9f22d4fa0c70dddc557fb8e3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f746573746564253230776974682d504850556e697425323031312d627269676874677265656e)

The core of the **Horizom** framework - a PSR-oriented PHP 8 micro-framework built around a DI container, a service provider system, a router, and a PSR-15 middleware pipeline.

> **Note:** This repository contains the Horizom core code. To create a complete application, see the main repository [horizom/app](https://github.com/horizom/app).

---

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

[](#table-of-contents)

- [horizom/core](#horizomcore)
    - [Table of Contents](#table-of-contents)
    - [Requirements](#requirements)
    - [Installation](#installation)
    - [Quick Start](#quick-start)
    - [Architecture](#architecture)
    - [Components](#components)
        - [Application (`App`)](#application-app)
            - [Service Binding](#service-binding)
            - [PSR-15 Middlewares](#psr-15-middlewares)
            - [Configuration](#configuration)
            - [Running](#running)
        - [Configuration (`Config`)](#configuration-config)
        - [DI Container (`Container`)](#di-container-container)
        - [Service Providers](#service-providers)
        - [Facades](#facades)
            - [Creating a Custom Facade](#creating-a-custom-facade)
        - [Middlewares](#middlewares)
            - [`BodyParsingMiddleware`](#bodyparsingmiddleware)
            - [`ContentLengthMiddleware`](#contentlengthmiddleware)
            - [`ExceptionHandlingMiddleware`](#exceptionhandlingmiddleware)
        - [Blade View (`View`)](#blade-view-view)
        - [Helpers](#helpers)
    - [Tests](#tests)
    - [License](#license)

---

Requirements
------------

[](#requirements)

DependencyMinimum versionPHP8.0ext-mbstring\*ext-openssl\*---

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

[](#installation)

```
composer require horizom/core
```

---

Quick Start
-----------

[](#quick-start)

```
