korobochkin / wp-kit
Classes and interfaces for WordPress APIs
Installs: 4 645
Dependents: 0
Suggesters: 0
Security: 0
Stars: 32
Watchers: 7
Forks: 2
Open Issues: 5
Requires
- symfony/dependency-injection: ^4.4|^5.0
- symfony/form: ^4.4|^5.0
- symfony/http-foundation: ^4.4|^5.0
- symfony/twig-bridge: ^4.4|^5.0
- symfony/validator: ^4.4|^5.0
- dev-master
- v1.0.0
- v0.11.0
- v0.10.1
- v0.10.0
- v0.9.1
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.2
- v0.2.1
- 0.2.0
- v0.1.0-alpha-4
- v0.1.0-alpha-3
- v0.1.0-alpha-2
- v0.1.0-alpha
- dev-develop
- dev-feature/update-packages-symfony-5
- dev-feature/fix-phpunit-tests
- dev-feature/update-packages
- dev-feature/41-wordpress-features
- dev-feature/wp-kit-30-integer-transformer
This package is auto-updated.
Last update: 2024-10-17 22:16:51 UTC
README
If you have been coding with plain WordPress functions and long unreadable code, you need to switch to Object Oriented Programming (OOP) code. It's easy! This library makes WordPress more friendly. Plugin and theme authors can create more reusable components and products by using this library.
- Code coverage report
- Homepage on Github Pages (with metrics from PHP Unit)
Available components
- Almost Controllers
Handles AJAX and HTTP requests in controllers with Dependency Injection (DI) container and services. - Cron
WordPress Cron events as DI services. - Options, Post Meta, Term Meta, Transients
Validate, save and retrieve any data with Data Transformers. - Pages, Notices and Meta Boxes
Settings pages with Symfony Forms, Twig and more. - Plugins and Themes
Base classes for plugins and themes to work with DI. - Scripts & Styles
Enqueue and register scripts and styles in single service. - Translations
Load translations for your plugin and themes. - Uninstall
Delete all data after your plugin or theme on uninstall. - Utils
Helpful functions which can save time while developing.
How to install?
Use Composer to install this library in your projects.
composer require korobochkin/wp-kit