backto / framework
There is no license information available for the latest version (4.0.0.x-dev) of this package.
4.0.0.x-dev
2026-03-25 07:29 UTC
Requires
- php: >=8.2
- psr/clock: ^1.0
- psr/http-client: ^1.0
- psr/http-message: ^2.0
- psr/log: ^3.0
- psr/simple-cache: ^3.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- php-stubs/wordpress-stubs: ^6.9
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.5
- psr/container: 1.1.1
- symfony/config: ^5.3
- symfony/dependency-injection: ^5.3
- symfony/filesystem: ^5.3
- symfony/service-contracts: ^2.4
- szepeviktor/phpstan-wordpress: ^2.0
- wp-phpunit/wp-phpunit: ^6.7
- yoast/phpunit-polyfills: ^3.0
Replaces
- backto/admin: 4.0.0.x-dev
- backto/assets: 4.0.0.x-dev
- backto/blocks: 4.0.0.x-dev
- backto/cache: 4.0.0.x-dev
- backto/cli: 4.0.0.x-dev
- backto/compose: 4.0.0.x-dev
- backto/contracts: 4.0.0.x-dev
- backto/exception: 4.0.0.x-dev
- backto/hooks: 4.0.0.x-dev
- backto/observability: 4.0.0.x-dev
- backto/options: 4.0.0.x-dev
- backto/plugin: 4.0.0.x-dev
- backto/post-meta: 4.0.0.x-dev
- backto/post-type: 4.0.0.x-dev
- backto/queue: 4.0.0.x-dev
- backto/rest-api: 4.0.0.x-dev
- backto/security: 4.0.0.x-dev
- backto/seo: 4.0.0.x-dev
- backto/taxonomy: 4.0.0.x-dev
- backto/theme: 4.0.0.x-dev
- 4.0.0.x-dev
- dev-claude/bot-protection-documentation-sisYz
- dev-claude/framework-production-analysis-iU20O
- dev-claude/wordpress-build-essentials-Itrzv
- dev-claude/analyze-framework-architecture-uMRl9
- dev-claude/refactor-and-testing-XVA87
- dev-claude/solid-principles-analysis-6wNXp
- dev-claude/ddd-framework-analysis-feM1L
- dev-claude/audit-clean-architecture-HQwDN
- dev-claude/audit-modules-best-practices-HDob8
- dev-claude/run-all-unit-tests-44Fsy
- dev-claude/add-async-queue-system-b5oXx
- dev-claude/improve-seo-schema-MYExi
- dev-claude/wordpress-performance-bundle-HW5j7
- dev-claude/gdpr-consent-tracking-H3X9t
- dev-claude/modular-composer-packages-YjHi6
- dev-claude/wordpress-security-bundle-TmXnJ
- dev-claude/framework-roadmap-planning-Bv9GS
- dev-claude/analyze-wordpress-framework-aOFc5
- dev-claude/repo-analysis-XiDs9
This package is not auto-updated.
Last update: 2026-03-27 12:40:43 UTC
README
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
- Register custom post types
- Register custom taxonomies
- Register block styles
- Register post meta fields
- Use the cache system
- Integrate SEO plugins
Reference
Explanation
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.