PHPackages                             marko/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. [Framework](/categories/framework)
4. /
5. marko/core

ActiveLibrary[Framework](/categories/framework)

marko/core
==========

Marko Framework Core

0.8.4(1mo ago)0970—2.1%120MITPHPPHP ^8.5

Since Mar 25Pushed 1mo agoCompare

[ Source](https://github.com/marko-php/marko-core)[ Packagist](https://packagist.org/packages/marko/core)[ RSS](/packages/marko-core/feed)WikiDiscussions develop Synced 4w ago

READMEChangelogDependencies (15)Versions (23)Used By (20)

Marko Core
==========

[](#marko-core)

The foundation of Marko---provides dependency injection, modules, plugins, events, and preferences so you can extend any class without modifying its source.

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

[](#installation)

```
composer require marko/core
```

Most applications install this via `marko/framework`.

Quick Example
-------------

[](#quick-example)

```
use Marko\Core\Attributes\Preference;

#[Preference(replaces: OriginalService::class)]
class MyService extends OriginalService
{
    public function doSomething(): string
    {
        return 'custom behavior';
    }
}
```

Documentation
-------------

[](#documentation)

Full usage, API reference, and examples: [marko/core](https://marko.build/docs/packages/core/)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance91

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community31

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.6% 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 ~4 days

Total

21

Last Release

45d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/437029?v=4)[Mark Shust](/maintainers/markshust)[@markshust](https://github.com/markshust)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (77 commits)")[![iamlasse](https://avatars.githubusercontent.com/u/556886?v=4)](https://github.com/iamlasse "iamlasse (4 commits)")[![michalbiarda](https://avatars.githubusercontent.com/u/1135380?v=4)](https://github.com/michalbiarda "michalbiarda (4 commits)")

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.1k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.4k87.4M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.8k](/packages/cakephp-cakephp)[bref/bref

Bref is a framework to write and deploy serverless PHP applications on AWS Lambda.

3.4k11.0M74](/packages/bref-bref)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k19](/packages/tempest-framework)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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