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 4d 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 49% 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

2729d 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

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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