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

Abandoned → [ahegyes/wp-framework-bootstrap](/?search=ahegyes%2Fwp-framework-bootstrap)ArchivedLibrary[Framework](/categories/framework)

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

A set of related functions that help bootstrap and version the other DWS WordPress Framework packages.

v1.3.0(4y ago)04.0k[6 PRs](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/pulls)2GPL-3.0-or-laterPHPPHP &gt;=7.4CI passing

Since Feb 28Pushed 2w agoCompare

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

READMEChangelog (10)Dependencies (20)Versions (17)Used By (2)

Important

**This package is no longer maintained.** Superseded by [`ahegyes/wp-framework-bootstrap`](https://github.com/ahegyes/wordpress-framework) as part of the v2 framework rewrite. The repository remains available for historical reference.

---

DWS WordPress Framework - Bootstrapper
======================================

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

[![GPLv3 License](https://camo.githubusercontent.com/da9c3abfd62c32a94031c3a382cb7c85dbd4cede411416837adfe6b8fda05ba1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d79656c6c6f772e737667)](https://opensource.org/licenses/)[![PHP Syntax Errors](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/actions/workflows/php-syntax-errors.yml/badge.svg)](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/actions/workflows/php-syntax-errors.yml)[![PHP Quality Assurance](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/actions/workflows/php-quality-assurance.yml/badge.svg)](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/actions/workflows/php-quality-assurance.yml)[![Codeception Tests](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/actions/workflows/codeception-tests.yml/badge.svg)](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/actions/workflows/codeception-tests.yml)

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

[](#description)

A set of related functions that help bootstrap and version the other DWS WordPress Framework components.

The *bootstrap.php* file is designed to be one of the very first things that will autoload when calling `require vendor/autoload.php`because it is mentioned specifically as a file to autoload in *composer.json*.

Upon loading, the file will define the necessary functions and validate its own minimum requirements. The end-plugin can now make use of the same functions to check for minimum WP and PHP requirements, and also use the same functions for outputting an error message.

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

[](#documentation)

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

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-bootstrapper`.

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 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)

- What is the purpose of this package?

It is a good idea for every WordPress plugin to first check the PHP and WP versions present before running, and, if minimum requirements are not fulfilled, to stop execution and display an error message. This package provides an easy way of doing just that!

- Can this be used outside the DWS framework?

While this package was built to be used by the DWS WordPress Framework, it does come with a whitelabel functionality. If you define the constants checked for in *includes/whitelabel.php* before calling `require vendor/autoload.php` you can customize quite a lot of things.

- Will you support earlier versions of WordPress and PHP?

The bootstrapper module itself will run on any PHP version back to 5.3 -- however, it will do so only to let the user know that they should update to at least PHP 8.4. As of writing this (December 2024), more than half the WordPress installations use version 6.7 so we won't be supporting anything below that.

- Is this bug-free?

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

Changelog
---------

[](#changelog)

### 2.0.0 (TBD)

[](#200-tbd)

- Entire rewrite to cut down on verbosity, constants, and improve performance.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance63

Regular maintenance activity

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 98.9% 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 ~35 days

Recently: every ~74 days

Total

10

Last Release

1586d 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 (93 commits)")[![CristinaAH](https://avatars.githubusercontent.com/u/82261124?v=4)](https://github.com/CristinaAH "CristinaAH (1 commits)")

---

Tags

frameworkwordpressbootstrapperDeep Web Solutions

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[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)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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