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

ActiveLibrary[Framework](/categories/framework)

backto/framework
================

4.0.0.x-dev(1mo ago)0859PHPPHP &gt;=8.2

Since Mar 15Pushed 1mo agoCompare

[ Source](https://github.com/BackToStudio/Framework)[ Packagist](https://packagist.org/packages/backto/framework)[ RSS](/packages/backto-framework/feed)WikiDiscussions 4.0.0 Synced yesterday

READMEChangelogDependencies (21)Versions (20)Used By (0)

BackTo Framework
================

[](#backto-framework)

A structured, modular WordPress framework powered by Symfony Dependency Injection.

BackTo Framework brings Clean Architecture, DDD patterns, and a compiled service container to WordPress theme and plugin development.

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

[](#installation)

```
composer require backto/framework
```

**Requirements:** PHP 8.1+

Quick Start
-----------

[](#quick-start)

```
// functions.php (theme) or plugin.php (plugin)
require_once __DIR__ . '/vendor/autoload.php';

$kernel = new MyTheme\Kernel('production', false);
$kernel->setTextDomain('my-theme');
$kernel->load();
```

```
// src/Kernel.php
namespace MyTheme;

use BackTo\Framework\Theme\ThemeKernel;

class Kernel extends ThemeKernel {}
```

See the [Build a Theme tutorial](docs/tutorials/build-a-theme.md) for a complete walkthrough.

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

[](#documentation)

The documentation follows the [Diataxis](https://diataxis.fr/) framework:

SectionPurpose[Tutorials](docs/tutorials/)Step-by-step lessons to get started[How-to Guides](docs/how-to/)Practical guides for specific tasks[Reference](docs/reference/)Technical descriptions of modules and contracts[Explanation](docs/explanation/)Design decisions and architectural concepts### Tutorials

[](#tutorials)

- [Build a WordPress theme](docs/tutorials/build-a-theme.md)
- [Build a WordPress plugin](docs/tutorials/build-a-plugin.md)

### How-to Guides

[](#how-to-guides)

- [Register custom post types](docs/how-to/register-post-types.md)
- [Register custom taxonomies](docs/how-to/register-taxonomies.md)
- [Register block styles](docs/how-to/register-block-styles.md)
- [Register post meta fields](docs/how-to/register-post-meta.md)
- [Use the cache system](docs/how-to/use-cache.md)
- [Integrate SEO plugins](docs/how-to/integrate-seo.md)

### Reference

[](#reference)

- [Architecture overview](docs/reference/architecture.md)
- [Modules reference](docs/reference/modules.md)
- [Contracts and interfaces](docs/reference/contracts.md)
- [Configuration reference](docs/reference/configuration.md)

### Explanation

[](#explanation)

- [Why a WordPress framework?](docs/explanation/why-a-framework.md)
- [Clean Architecture and DDD](docs/explanation/clean-architecture.md)
- [Vendor scoping with php-scoper](docs/explanation/vendor-scoping.md)

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.8% 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

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/31373819?v=4)[Suriteka](/maintainers/Suriteka)[@Suriteka](https://github.com/Suriteka)

---

Top Contributors

[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (190 commits)")[![truchot](https://avatars.githubusercontent.com/u/36343370?v=4)](https://github.com/truchot "truchot (73 commits)")[![Suriteka](https://avatars.githubusercontent.com/u/31373819?v=4)](https://github.com/Suriteka "Suriteka (10 commits)")[![maitearmengaud](https://avatars.githubusercontent.com/u/53378428?v=4)](https://github.com/maitearmengaud "maitearmengaud (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[symfony/symfony

The Symfony PHP framework

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

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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