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

ActiveLibrary[Framework](/categories/framework)

backdrop-dev/framework
======================

Backdrop Framework: A framework for developing ClassicPress and WordPress themes and plugins.

2.0.x-dev(1y ago)047816GPL-2.0-or-laterPHPPHP &gt;=7.4

Since Apr 24Pushed 7mo agoCompare

[ Source](https://github.com/backdrop-dev/framework)[ Packagist](https://packagist.org/packages/backdrop-dev/framework)[ Docs](https://benjlu.com/project/backdrop-dev)[ RSS](/packages/backdrop-dev-framework/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (6)

Backdrop: Themes &amp; Plugins Framework
========================================

[](#backdrop-themes--plugins-framework)

Backdrop is a framework for developing themes &amp; plugins for ClassicPress and WordPress.

Backdrop is the core application layer that consists of a service container and it can be use alone or alongside with Backdrop's available packages.

Requirements
------------

[](#requirements)

- [ClassicPress](https://www.classicpress.net/)
- [WordPress](https://wordpress.org)
- [PHP 7.4](https://www.php.net/releases/7_4_0.php)
- [Composer](https://getcomposer.org)

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

[](#installation)

Use the following command from your preferred command line utility to install Backdrop.

```
composer require backdrop-dev/framework
```

Themes
------

[](#themes)

if bundling this directly in your theme, add the following code.

```
if ( file_exists( get_parent_theme_file_path( 'vendor/autoload.php' ) ) ) {
	require_once( get_parent_theme_file_path( 'vendor/autoload.php' ) );
}
```

Plugins
-------

[](#plugins)

if bundling this directly in your plugin, add the following code.

```
if ( file_exists( plugin_dir_path( __FILE__ ) . '/vendor/autoload.php' ) ) {
	require_once plugin_dir_path( __FILE__ ) . '/vendor/autoload.php';
}
```

Registering and Booting Backdrop.
---------------------------------

[](#registering-and-booting-backdrop)

Please note that the Backdrop isn't launched until an instance of its `Backdrop\Core\Application` class is created and its `boot()`, check the Backdrop\\booted() function before attempting to create a new app. If one exists, then it should use the existing instance via the `Backdrop\app()` helper function.

```
// Create a new application
$slug = Backdrop\booted ? Backdrop\app() : new Backdrop\Core\Application();

// Add service provider
$slug->provider( YourProject\Provider::class );

// Create and action hook for child themes or plugins
do_action( "$slug/child/theme", $slug );

// Boot the application
$slug->boot();
```

Copyright and Licenses
----------------------

[](#copyright-and-licenses)

This project is licensed under the GNU GPL, version 2 or later.

2019–2025 © Benjamin Lu

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance55

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 99.7% 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 ~203 days

Total

2

Last Release

222d ago

### Community

Maintainers

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

---

Top Contributors

[![techkodeninja](https://avatars.githubusercontent.com/u/164923145?v=4)](https://github.com/techkodeninja "techkodeninja (344 commits)")[![pattonwebz](https://avatars.githubusercontent.com/u/3902039?v=4)](https://github.com/pattonwebz "pattonwebz (1 commits)")

---

Tags

classicpresshacktoberfestwordpresswordpressclassicpress

### Embed Badge

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

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

###  Alternatives

[roots/wordpress

WordPress is open source software you can use to create a beautiful website, blog, or app.

19317.6M300](/packages/roots-wordpress)[themosis/theme

The Themosis framework boilerplate theme.

10349.0k3](/packages/themosis-theme)[devgeniem/dustpress

WordPress Theme Framework.

55100.2k33](/packages/devgeniem-dustpress)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

273.9k1](/packages/alleyinteractive-pest-plugin-wordpress)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.2k5](/packages/wpstarter-framework)

PHPackages © 2026

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