deep-web-solutions / wp-framework-helpers
A set of related helpers to kick-start WordPress development.
Installs: 3 229
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- deep-web-solutions/wp-framework-bootstrapper: ^1.3.0
Requires (Dev)
- codeception/module-asserts: ^1.3
- codeception/module-cli: ^1.1
- codeception/module-db: ^1.1
- codeception/module-filesystem: ^1.0
- codeception/module-phpbrowser: ^1.0
- codeception/module-webdriver: ^1.4
- codeception/util-universalframework: ^1.0
- dealerdirect/phpcodesniffer-composer-installer: *
- deep-web-solutions/wordpress-configs: master@dev
- hoa/console: ^3.17
- johnpbloch/wordpress-core: 5.5.*
- lucatume/wp-browser: 3.*
- php-stubs/wordpress-stubs: 5.5.*
- phpcompatibility/php-compatibility: *
- phpcompatibility/phpcompatibility-wp: *
- phpmd/phpmd: 2.*
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: 3.*
- vlucas/phpdotenv: ^5.4
- wp-coding-standards/wpcs: *
README
Description
A set of helpers to kick-start WordPress development. This package is designed to contain small, helpful, static snippets that can be reused throughout different projects.
Documentation
Documentation for this module and the rest of the DWS WP Framework can be found here.
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-helpers
.
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
Contributions both in the form of bug-reports and pull requests are more than welcome!
Frequently Asked Questions
- 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.
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
2.0.0 (TBD)
- Entire rewrite to cut down on verbosity, constants, and improve performance.