PHPackages                             tekton/framework - 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. tekton/framework

Abandoned → [soma/soma](/?search=soma%2Fsoma)ArchivedLibrary[Framework](/categories/framework)

tekton/framework
================

Tekton is a lightweight PHP micro-framework, designed to integrate as a shim in older codebases to enable modern design patterns

3.0.1(7y ago)0441MITPHPPHP &gt;=7.0.0

Since Mar 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tekton-php/framework)[ Packagist](https://packagist.org/packages/tekton/framework)[ Docs](https://github.com/tekton-php/framework)[ RSS](/packages/tekton-framework/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (3)Versions (7)Used By (1)

Tekton Framework
================

[](#tekton-framework)

Tekton is a lightweight PHP micro-framework, designed to integrate as a shim in older codebases to enable modern design patterns. `tekton/framework` is the core of sub-frameworks that provides config loading, DI container, environment loading, service providers, facades and class aliases.

The reason it was created was to allow integrating the power and ease of use of modern design patterns when working in more limited environments. A good example is the [Dynamis](https://github.com/dynamis-wp/framework) project that does exactly that by enabling this within a WordPress environment.

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

[](#installation)

```
composer require tekton/framework
```

Usage
-----

[](#usage)

To get started, just require the project in your composer configuration, provide a PSR-11 container and initialize the framework.

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

use Tekton\Framework;
use DI\Container;

$framework = Framework::getInstance();
$framework->setContainer(new Container)
          ->setEnvironment('development')
          ->setResourceCaching(true)
          ->setCacheDir(__DIR__.'/cache')
          ->registerConfig(__DIR__.'/config');
          ->setFacadeAliases('Project\\Facades', __DIR__.'/Facades')
          ->registerAlias('ProjectClass', 'Project\\Class');

$framework->registerProvider([
    \Project\Providers\ServiceOne::class,
    \Project\Providers\ServiceTwo::class,
    \Project\Providers\ServiceThree::class,
]);

$framework->init(__DIR__, 'http://localhost:8000/');
```

There are several helper functions to quickly retrieve config values, services or resource URIs. You can also initialize the framework in steps if you need to retrieve config values before registering providers or aliases.

```
$framework = Framework::getInstance();
$framework->setContainer(new Container)
          ->registerConfig(__DIR__.'/config')
          ->loadEnv()
          ->loadConfig();

$framework->registerProvider(app('config')->get('app.providers'));
$framework->registerAlias(app('config')->get('app.aliases'));

$framework->init(__DIR__, 'http://localhost:8000/');
```

License
-------

[](#license)

MIT

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~122 days

Recently: every ~40 days

Total

6

Last Release

2776d ago

Major Versions

1.0.0 → 2.0.02018-06-18

2.1.0 → 3.0.02018-11-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc4837ce5eb1f32142e8aefef1d53e10ae638fcff864e1c7c67c1e5b2b496e85?d=identicon)[nsrosenqvist](/maintainers/nsrosenqvist)

---

Top Contributors

[![nsrosenqvist](https://avatars.githubusercontent.com/u/1303475?v=4)](https://github.com/nsrosenqvist "nsrosenqvist (12 commits)")

### Embed Badge

![Health badge](/badges/tekton-framework/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.7k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M997](/packages/phpro-grumphp)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/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)
