https://github.com/dmhendricks/wordpress-toolkit
A collection of helper classes and functions for WordPress plugins and themes.
https://github.com/dmhendricks/wordpress-toolkit
wordpress wordpress-base-plugin wordpress-php-library
Last synced: 5 months ago
JSON representation
A collection of helper classes and functions for WordPress plugins and themes.
- Host: GitHub
- URL: https://github.com/dmhendricks/wordpress-toolkit
- Owner: dmhendricks
- License: gpl-2.0
- Created: 2017-08-22T18:05:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T02:31:50.000Z (over 7 years ago)
- Last Synced: 2025-04-10T12:07:18.255Z (10 months ago)
- Topics: wordpress, wordpress-base-plugin, wordpress-php-library
- Language: PHP
- Size: 65.4 KB
- Stars: 14
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.danhendricks.com/?utm_source=github.com&utm_medium=campaign&utm_content=button&utm_campaign=dmhendricks%2Fwordpress-toolkit)
[](https://github.com/dmhendricks/wordpress-toolkit/releases)
[](https://raw.githubusercontent.com/dmhendricks/wordpress-toolkit/master/LICENSE)
[](https://packagist.org/packages/dmhendricks/wordpress-toolkit)
[](https://paypal.me/danielhendricks)
[](https://share.getf.ly/e25g6k?utm_source=github.com&utm_medium=campaign&utm_content=button&utm_campaign=dmhendricks%2Fwordpress-toolkit)
[](https://twitter.com/danielhendricks)
# WordPress Tool Kit
A collection of classes that I use in my WordPress projects & plugins.
### Contributing
If you can make the code better or recommend/contribute code that would be useful to include, [please let me know](https://github.com/dmhendricks/wordpress-toolkit/issues).
## Features
* [ConfigRegistry](https://github.com/dmhendricks/wordpress-toolkit/wiki/ConfigRegistry) class - Loads plugin/theme settings from an array or JSON file.
* [Licensing](https://github.com/dmhendricks/wordpress-toolkit/wiki/Licensing) class - Currently only support license code validation via the [Software Licensing](https://www.whmcs.com/software-licensing/?utm_source=github.com&utm_medium=referral&utm_content=link&utm_campaign=dmhendricks%2Fwordpress-toolkit) addon for WHMCS.
* [ObjectCache](https://github.com/dmhendricks/wordpress-toolkit/wiki/ObjectCache) class - A wrapper for setting/fetching values from the WordPress object cache, where available.
* [PluginTools](https://github.com/dmhendricks/wordpress-toolkit/wiki/PluginTools) class - A class for retrieving data and performing various tasks on plugins.
* [ScriptObject](https://github.com/dmhendricks/wordpress-toolkit/wiki/ScriptObject) class - Inject JavaScript variables or CSS into the page head or write/enqueue external files.
## Installation
### Requirements
* WordPress 4.7 or higher
* PHP 7.0 or higher
Compatibility tested with WordPress 5.0, multisite and PHP 7.3.
### Install with Composer
```bash
composer require dmhendricks/wordpress-toolkit
```
## Usage
Please see the [Documentation](https://github.com/dmhendricks/wordpress-toolkit/wiki) page.