wpfulcrum / widget
Fulcrum Widget Module - WordPress widgets made easy.
3.0.1
2017-12-12 03:51 UTC
Requires
- php: ^5.6|^7
- wpfulcrum/config: ^3
- wpfulcrum/foundation: ^3
Requires (Dev)
- brain/monkey: ^2.0
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.8|~5.7.9
- sensiolabs/security-checker: ^4.0
- squizlabs/php_codesniffer: ^3.0
This package is not auto-updated.
Last update: 2024-10-27 04:59:21 UTC
README
The Fulcrum Custom Widget Module makes your job easier for adding custom widgets to your project. Pass it a configuration and it handles the rest for you.
Features
- Registration is handled for you.
- Widget form is handled for you.
- Widget rendering is handled for you.
You build:
- the configuration
- form view file
- widget view file
If you need custom processing, use the Widget
class as your base class. Then just build what's different to minimize your work.
Installation
The best way to use this component is through Composer:
composer require wpfulcrum/widget
Dependencies
This module requires:
- at least PHP 5.6
- WordPress 4.8+
- Fulcrum 3+
Unlike the other Fulcrum modules, the Widget module is not a standalone module. It is highly dependent upon Fulcrum.
Contributing
All feedback, bug reports, and pull requests are welcome.