Skip to content

About

[READ-ONLY] Marko Framework Core. Issues and PRs at https://github.com/marko-php/marko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

125 Commits

Folders and files

Repository files navigation

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

composer require marko/core

Most applications install this via marko/framework.

Quick Example

use Marko\Core\Attributes\Preference;

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

Documentation

Full usage, API reference, and examples: marko/core

About

[READ-ONLY] Marko Framework Core. Issues and PRs at https://github.com/marko-php/marko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages