PHPackages                             justintadlock/hybrid-core - 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. justintadlock/hybrid-core

ActiveLibrary[Framework](/categories/framework)

justintadlock/hybrid-core
=========================

Hybrid Core: A framework for developing modern WordPress plugins and themes.

7.0.4(1y ago)68717.9k141[3 issues](https://github.com/themehybrid/hybrid-core/issues)7GPL-2.0-or-laterPHPPHP &gt;=8.0

Since Jul 14Pushed 6d ago60 watchersCompare

[ Source](https://github.com/themehybrid/hybrid-core)[ Packagist](https://packagist.org/packages/justintadlock/hybrid-core)[ Docs](https://github.com/themehybrid/hybrid-core)[ RSS](/packages/justintadlock-hybrid-core/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (7)Versions (39)Used By (7)

Hybrid Core: WordPress Framework
================================

[](#hybrid-core-wordpress-framework)

Hybrid Core is a framework for developing WordPress plugins and themes.

The core package is the application layer that primarily consists of a service container. It can be used alone or alongside any of the available [Hybrid packages](https://github.com/themehybrid/).

The framework simplifies many of the complexities of WordPress development and helps you write more modern PHP code. Its goal is to provide elegant functions, classes, and interfaces for writing code without the need to rebuild everything from scratch with each project.

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

[](#requirements)

- WordPress 6.1+
- PHP 8.0+
- Composer 2.0+

Donations
---------

[](#donations)

Hybrid Core is free. However, [donations to the project](https://themehybrid.com/donate) are also welcome.

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

[](#documentation)

The documentation is handled via Hybrid Core's [wiki](https://github.com/themehybrid/hybrid-core/wiki). This is community-contributed documentation that I hope you will add to if you use the framework.

### Installation

[](#installation)

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

```
composer require themehybrid/hybrid-core
```

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

**For plugins:**

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

**For themes:**

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

### Bootstrapping Hybrid Core

[](#bootstrapping-hybrid-core)

Hybrid Core isn't launched until an instance of its `Hybrid\Core\Application` class is created and its `boot()` method has been called.

Because the `Application` class can be called multiple times via both plugins and themes, developers need to check the `Hybrid\booted()` function before attempting to create a new app. If one exists, they should use the existing instance via the `Hybrid\app()` helper function.

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

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

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

Resources
---------

[](#resources)

[Join Slack Community](https://join.slack.com/t/themehybrid/shared_invite/zt-26e8ju9mu-iBgtE4WeaA3RvyysFvWiBw)

Copyright and License
---------------------

[](#copyright-and-license)

This project is licensed under the [GNU GPL](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html), version 2 or later.

Hybrid Core uses code from Laravel Framework. The Laravel framework is open-sourced software licensed under the MIT license. License: MIT -

2008 – 2024 © [Theme Hybrid](https://themehybrid.com).

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance71

Regular maintenance activity

Popularity48

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 86.6% 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 ~107 days

Recently: every ~31 days

Total

36

Last Release

583d ago

Major Versions

4.0.x-dev → 5.0.02018-09-13

5.2.0 → 6.0.02021-08-01

5.2.1 → 6.0.12022-06-27

6.0.1 → 7.0.0-alpha.32023-06-07

6.0.2 → 7.0.0-beta.12023-08-05

PHP version history (5 changes)5.0.0PHP &gt;=5.6

6.0.0PHP &gt;=7.0

7.0.0-alpha.3PHP &gt;=8.1

6.0.2PHP &gt;=7.4

7.0.0-beta.1PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![justintadlock](https://avatars.githubusercontent.com/u/1816309?v=4)](https://github.com/justintadlock "justintadlock (413 commits)")[![saas786](https://avatars.githubusercontent.com/u/1642796?v=4)](https://github.com/saas786 "saas786 (51 commits)")[![robneu](https://avatars.githubusercontent.com/u/2184093?v=4)](https://github.com/robneu "robneu (5 commits)")[![samikeijonen](https://avatars.githubusercontent.com/u/1820415?v=4)](https://github.com/samikeijonen "samikeijonen (2 commits)")[![brendt](https://avatars.githubusercontent.com/u/6905297?v=4)](https://github.com/brendt "brendt (1 commits)")[![riyaku](https://avatars.githubusercontent.com/u/528108?v=4)](https://github.com/riyaku "riyaku (1 commits)")[![Rarst](https://avatars.githubusercontent.com/u/737584?v=4)](https://github.com/Rarst "Rarst (1 commits)")[![m-e-h](https://avatars.githubusercontent.com/u/3585901?v=4)](https://github.com/m-e-h "m-e-h (1 commits)")[![nextgenthemes](https://avatars.githubusercontent.com/u/1780826?v=4)](https://github.com/nextgenthemes "nextgenthemes (1 commits)")[![oakwoodgates](https://avatars.githubusercontent.com/u/6723502?v=4)](https://github.com/oakwoodgates "oakwoodgates (1 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/justintadlock-hybrid-core/health.svg)

```
[![Health](https://phpackages.com/badges/justintadlock-hybrid-core/health.svg)](https://phpackages.com/packages/justintadlock-hybrid-core)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[themehybrid/hybrid-core

Hybrid Core: A framework for developing modern WordPress plugins and themes.

6871.2k12](/packages/themehybrid-hybrid-core)[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)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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