Skip to content

BackToStudio/Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

406 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

composer require backto/framework

Requirements: PHP 8.1+

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 for a complete walkthrough.

Documentation

The documentation follows the Diataxis framework:

Section Purpose
Tutorials Step-by-step lessons to get started
How-to Guides Practical guides for specific tasks
Reference Technical descriptions of modules and contracts
Explanation Design decisions and architectural concepts

Tutorials

How-to Guides

Reference

Explanation

Contributing

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

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages