lipemat / wordpress-libs
A WordPress library for supporting a core plugin and theme
Fund package maintenance!
6.0.0-beta.3
2026-06-04 16:16 UTC
Requires
- php: >=8.4.0
Requires (Dev)
- lipemat/cmb2: ^2.10.1.10
This package is auto-updated.
Last update: 2026-06-05 08:59:59 UTC
README
WordPress library which supports a core plugin and theme.
Documentation
Full module documentation is published at lipemat.github.io/wordpress-libs.
Browse the Modules index for a complete list of fluent builders, traits, and helpers, including:
- API — rewrite endpoints, route resolution, remote requests, and ZIP responses.
- Args — reusable fluent-args and nested-clause building blocks.
- Blocks — block registration, attributes, and
supportsbuilders. - CMB2 — meta box, field, group, options page, and variation wrappers for CMB2.
- Comment — comment object helpers and comment query/update builders.
- Container — singleton container, factory, and hook bootstrap helpers.
- Cron — recurring and one-time cron orchestration.
- Db — contracts and helpers for custom tables.
- Libs — internal asset handles for library-owned CSS and JS.
- Menu —
wp_nav_menu()args and nav-menu-item wrappers. - Meta — meta registration, translation, validation, and classic meta boxes.
- Network — multisite network wrapper trait.
- Post Type — custom post types, labels, capabilities, and admin-list integrations.
- Query — query builders for posts plus date/meta/tax clauses.
- REST API — route registration, argument schema, and resource schema builders.
- Settings —
register_setting()wrappers and settings page composition. - Site — multisite site wrapper trait.
- Taxonomy — taxonomy registration, labels, admin menu/meta-box utilities, and term queries.
- Theme — resource loading, manifests, templates, CSS modules, and sidebar helpers.
- Traits — memoization, singleton, and version helpers.
- User — user object helpers, user queries, updates, and login form args.
- Util — arrays, cache, colors, cryptography, files, logging, strings, URLs, and version helpers.
Installation
composer require lipemat/wordpress-libs
Usage
require __DIR__ . '/vendor/autoload.php'
Changelog
Found in releases (non exhaustive)