PHPackages                             deep-web-solutions/wp-framework-foundations - 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. deep-web-solutions/wp-framework-foundations

ActiveLibrary[Framework](/categories/framework)

deep-web-solutions/wp-framework-foundations
===========================================

A set of related foundational classes to kick-start WordPress plugin development.

v1.7.0(4y ago)02.3kGPL-3.0-or-laterPHPPHP &gt;=7.4

Since Apr 1Pushed 4y agoCompare

[ Source](https://github.com/deep-web-solutions/wordpress-framework-foundations)[ Packagist](https://packagist.org/packages/deep-web-solutions/wp-framework-foundations)[ Docs](https://www.deep-web-solutions.com)[ RSS](/packages/deep-web-solutions-wp-framework-foundations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (21)Used By (0)

DWS WordPress Framework - Foundations
=====================================

[](#dws-wordpress-framework---foundations)

**Contributors:** Antonius Hegyes, Deep Web Solutions GmbH
**Requires at least:** 5.5
**Tested up to:** 5.8
**Requires PHP:** 7.4
**Stable tag:** 1.7.0
**License:** GPLv3 or later
**License URI:**

Description
-----------

[](#description)

[![GPLv3 License](https://camo.githubusercontent.com/da9c3abfd62c32a94031c3a382cb7c85dbd4cede411416837adfe6b8fda05ba1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d79656c6c6f772e737667)](https://opensource.org/licenses/)[![PHP Syntax Errors](https://github.com/deep-web-solutions/wordpress-framework-foundations/actions/workflows/php-syntax-errors.yml/badge.svg)](https://github.com/deep-web-solutions/wordpress-framework-foundations/actions/workflows/php-syntax-errors.yml)[![WordPress Coding Standards](https://github.com/deep-web-solutions/wordpress-framework-foundations/actions/workflows/wordpress-coding-standards.yml/badge.svg)](https://github.com/deep-web-solutions/wordpress-framework-foundations/actions/workflows/wordpress-coding-standards.yml)[![Codeception Tests](https://github.com/deep-web-solutions/wordpress-framework-foundations/actions/workflows/codeception-tests.yml/badge.svg)](https://github.com/deep-web-solutions/wordpress-framework-foundations/actions/workflows/codeception-tests.yml)[![Maintainability](https://camo.githubusercontent.com/886fe06266b19a847cb23af939ecd4e26fbf1c748c321047ebaff81a8994627e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37356663616362623839313964343432613636342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/deep-web-solutions/wordpress-framework-foundations/maintainability)

A set of related foundational classes to kick-start WordPress plugin development. This package contains many abstractions useful for building a WordPress plugin.

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

[](#documentation)

Documentation for this module and the rest of the DWS WP Framework can be found [here](https://framework.deep-web-solutions.com/foundations-module/motivation-and-how-to-use).

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

[](#installation)

The package is designed to be installed via Composer. It may work as a stand-alone but that is not officially supported. The package's name is `deep-web-solutions/wp-framework-foundations`.

If the package will be used outside a composer-based installation, e.g. inside a regular WP plugin, you should install using the `--ignore-platform-reqs` option. If you don't do that, the bundled `DWS WordPress Framework - Bootstrapper` package will only be able to perform checks for the WordPress version because composer will throw an error in case of an incompatible PHP version.

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

[](#contributing)

Contributions both in the form of bug-reports and pull requests are more than welcome!

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

- Will you support earlier versions of WordPress and PHP?

Unfortunately not. PHP 7.3 is close to EOL (March 2021), and we consider 7.4 to provide a few features that are absolutely amazing. Moreover, WP 5.5 introduced a few new features that we really want to use as well, and we consider it to be one of the first versions of WordPress to have packed a more-or-less mature version of Gutenberg.

If you're using older versions of either one, you should really consider upgrading at least for security reasons.

- Is this bug-free?

Hopefully yes, probably not. If you found any problems, please raise an issue on Github!

Changelog
---------

[](#changelog)

### 1.7.0 (January 13th, 2022)

[](#170-january-13th-2022)

- Updated hooks to conform to new format in the rest of the framework.

### 1.6.0 (November 23rd, 2021)

[](#160-november-23rd-2021)

- The AbstractPlugin class now requires the plugin slug to be passed on in the constructor.

### 1.5.4 (November 2nd, 2021)

[](#154-november-2nd-2021)

- Fixed regression: logging service not setting the plugin instance on plugin-aware handlers.

### 1.5.0, 1.5.1, 1.5.2, 1.5.3 (October 28th, October 29th, October 30th, 2021)

[](#150-151-152-153-october-28th-october-29th-october-30th-2021)

- Plugin component abstractions are now at the namespace root.
- Utilities sub-namespace was removed.
- More use of helpers from the Helpers module.
- More use of PHP7.4 features.
- Removed recursiveness from the logging service.
- Hooks and Assets helpers definition is now compatible with those from the Helpers module.
- Added a new MultiContainerAwareInterface and trait to go with it.
- Simplified MultiStoreAwareTrait.

### 1.4.1, 1.4.2, 1.4.3, 1.4.4 (April 11th, April 23rd, August 19th, September 29th, 2021)

[](#141-142-143-144-april-11th-april-23rd-august-19th-september-29th-2021)

- Compatibility with Helpers 1.2.
- Consolidated changelog.
- Documentation updates.
- Migrated from Travis CI to Github Actions.
- Changed the joining separator for hooks tags.
- ChildTrait is now consistent with ParentTrait when checking for relations.

### 1.3.1, 1.3.2, 1.4.0 (April 10th, 2021)

[](#131-132-140-april-10th-2021)

- Fixed a bug that caused only a maximum of 1 status extension trait to be executed.
- Updated composer.json to support any version of the PSR packages.
- Some action extension traits are now integration traits.

### 1.3.0 (April 9th, 2021)

[](#130-april-9th-2021)

- Updated development tools.
- Renamed the StoreableInterface to StorableInterface.
- Renamed all instances of 'storeable' with 'storable'.

### 1.2.1 (April 3rd, 2021)

[](#121-april-3rd-2021)

- Added a conditional children setup trait.

### 1.2.0 (April 3rd, 2021)

[](#120-april-3rd-2021)

- Enhanced the Actions traits with the piping functionality from the Core module.

### 1.1.1 (April 2nd, 2021)

[](#111-april-2nd-2021)

- Updated version constant.

### 1.1.0 (April 2nd, 2021)

[](#110-april-2nd-2021)

- Renamed some traits for consistency with the rest of the modules.
- Updated Helpers module.
- Added a new initialization extension trait for hierarchical objects that use a DI container.

### 1.0.0 (April 1st, 2021)

[](#100-april-1st-2021)

- First official release.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~15 days

Total

20

Last Release

1583d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36231502?v=4)[Tony Hegyes](/maintainers/ahegyes)[@ahegyes](https://github.com/ahegyes)

---

Top Contributors

[![ahegyes](https://avatars.githubusercontent.com/u/36231502?v=4)](https://github.com/ahegyes "ahegyes (35 commits)")

---

Tags

frameworkwordpressDeep Web Solutionsfoundations

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/deep-web-solutions-wp-framework-foundations/health.svg)

```
[![Health](https://phpackages.com/badges/deep-web-solutions-wp-framework-foundations/health.svg)](https://phpackages.com/packages/deep-web-solutions-wp-framework-foundations)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[htmlburger/wpemerge

A micro framework which modernizes WordPress as a CMS development by providing tools to implement MVC and more.

456137.8k8](/packages/htmlburger-wpemerge)[themosis/theme

The Themosis framework boilerplate theme.

10449.0k3](/packages/themosis-theme)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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