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

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

cherry-project/core
===================

Core for Cherry-project

v1.6.1(7y ago)250[1 issues](https://github.com/cherry-framework/core/issues)2MITPHPPHP &gt;=5.6.0

Since Mar 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/cherry-framework/core)[ Packagist](https://packagist.org/packages/cherry-project/core)[ Docs](https://github.com/cherry-framework/core)[ RSS](/packages/cherry-project-core/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (2)

Cherry-Core
===========

[](#cherry-core)

The Cherry-project Core

[![GitHub license](https://camo.githubusercontent.com/0af12a94e507841084bc4e934779c8c3498779576afb9ae900814d4873da0e50/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6368657272792d6672616d65776f726b2f636f72652e737667)](https://github.com/cherry-framework/core/blob/master/LICENSE)

[![GitHub release](https://camo.githubusercontent.com/52769ca2042136727708a47eca82a5d274fd6c8a52bfbc04c9beac9ae4b902f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6368657272792d6672616d65776f726b2f636f72652e737667)](https://github.com/cherry-framework/core/releases)

[![Packagist Version](https://camo.githubusercontent.com/db31b209cbda3f33b4fd57f0a91a944415750c4d570fc6941fbd697acf29c656/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368657272792d70726f6a6563742f636f72652e737667 "Packagist Version")](https://packagist.org/packages/cherry-project/core "Packagist Version")

---

This is core for Cherry-Project that contains Cherry [Request](https://github.com/ABGEO07/cherry-request), [Response](https://github.com/ABGEO07/cherry-response), [Router](https://github.com/ABGEO07/cherry-router), and [Templater](https://github.com/ABGEO07/cherry-templater).

In root of your application you must define main file and call application Core Kernel and Router classes:

```
require_once __DIR__ . '/../vendor/autoload.php';

use Cherry\Routing\Router;

$kernel = new Cherry\Kernel(__DIR__);

$router = new Router();
```

`Kernel` class takes only one argument - your application root path.

With main file you mast have directories `config`, `controllers`, `templates`:

```
root
└─ config/
└─ controllers/
└─ templates/

```

### Config

[](#config)

`config` directory is a 'home' for application config and router files:

```
config/
└─ config.json
└─ routes.json

```

`config.json` contains application environmental parameters:

```
{
  "ROUTES_FILE":      "path-to-routes.json",
  "CONTROLLERS_PATH": "path-to-controllers-directory",
  "TEMPLATES_PATH":   "path-to-templates-directory",
  "LOGS_PATH":        "path-to-logs-directory"
}
```

### Controller

[](#controller)

Controller is a simple PHP class that contains public methods mapped on route:

```
"action": "DefaultController::index"

```

Every method returns Cherry\\HttpUtils\\Response object.

```
$this->render('index');
```

**2019 © Cherry-project**

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

4

Last Release

2559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/003cac08dd47c34ad3a5ed454c2968ed6afea9e26d57033867d4166fa08b3555?d=identicon)[ABGEO](/maintainers/ABGEO)

---

Top Contributors

[![ABGEO](https://avatars.githubusercontent.com/u/19558543?v=4)](https://github.com/ABGEO "ABGEO (18 commits)")

---

Tags

cherrycomposerframeworkcorecherry

### Embed Badge

![Health badge](/badges/cherry-project-core/health.svg)

```
[![Health](https://phpackages.com/badges/cherry-project-core/health.svg)](https://phpackages.com/packages/cherry-project-core)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[fidry/cpu-core-counter

Tiny utility to get the number of CPU cores.

238148.2M23](/packages/fidry-cpu-core-counter)[typo3/cms-composer-installers

TYPO3 CMS Installers

6113.7M52](/packages/typo3-cms-composer-installers)[compwright/codeigniter-installers

Composer installers for CodeIgniter

2982.0k4](/packages/compwright-codeigniter-installers)[gilbertsoft/typo3-core-patches

Easily manage TYPO3 Core patches with Composer.

1453.1k](/packages/gilbertsoft-typo3-core-patches)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
