PHPackages                             wppack/wppack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wppack/wppack

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wppack/wppack
=============

Modern WordPress Component Library

1.x-dev(1mo ago)10MITPHPPHP ^8.2CI passing

Since Apr 5Pushed 1mo agoCompare

[ Source](https://github.com/wppack-io/wppack)[ Packagist](https://packagist.org/packages/wppack/wppack)[ RSS](/packages/wppack-wppack/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelogDependencies (38)Versions (2)Used By (0)

WpPack - Modern WordPress Component Library
===========================================

[](#wppack---modern-wordpress-component-library)

[![CI](https://camo.githubusercontent.com/4da95a80d08b1fcc355cf73cdd4d5167cfc8ddb034ba83ed5171a19775922a73/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77707061636b2d696f2f77707061636b2f63692e796d6c3f6272616e63683d6d6173746572)](https://github.com/wppack-io/wppack/actions/workflows/ci.yml)[![Codecov](https://camo.githubusercontent.com/8efbf3f1c8a5f23f3741ef73e8bf19ccedc4f2660e1468b250dcf80d7c1437a0/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f77707061636b2d696f2f77707061636b)](https://codecov.io/gh/wppack-io/wppack)[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/c2588b5670f2c910b8cc849ace22a22efda8956b7c2f797d11d2096bbfc7b1f5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d3737374242342e737667)](https://php.net)

WpPack brings modern PHP development practices to WordPress. Built on PHP 8.2+ with Symfony-inspired patterns, it provides a set of decoupled components and plugins that replace traditional WordPress APIs with type-safe, testable, and well-structured alternatives.

Packages
--------

[](#packages)

### Infrastructure Layer

[](#infrastructure-layer)

PackageDescription`wppack/handler`Modern PHP request handler (front controller)`wppack/hook`Attribute-based hook (action/filter) registration`wppack/dependency-injection`PSR-11 service container with autowiring`wppack/event-dispatcher`PSR-14 event dispatcher`wppack/filesystem`WP\_Filesystem DI wrapper`wppack/kernel`Application bootstrap`wppack/option`Type-safe wp\_options wrapper`wppack/transient`Type-safe Transient API wrapper`wppack/role`Role and capability management`wppack/templating`Template engine abstraction↳ `wppack/twig-templating`Twig bridge`wppack/stopwatch`Code execution timing and profiling`wppack/logger`PSR-3 compatible logger↳ `wppack/monolog-logger`Monolog bridge`wppack/mime`MIME type detection and extension mapping`wppack/site`Multisite management (blog switching, context, site queries)### Abstraction Layer

[](#abstraction-layer)

PackageDescription`wppack/cache`PSR-6/PSR-16 cache abstraction↳ `wppack/redis-cache`Redis/Valkey adapter↳ `wppack/dynamodb-cache`DynamoDB adapter↳ `wppack/memcached-cache`Memcached adapter↳ `wppack/apcu-cache`APCu adapter↳ `wppack/elasticache-auth`ElastiCache IAM authentication`wppack/database`Type-safe $wpdb wrapper and migrations`wppack/query`WP\_Query builder`wppack/security`Authentication and authorization framework↳ `wppack/saml-security`SAML 2.0 SP bridge↳ `wppack/oauth-security`OAuth 2.0 / OpenID Connect bridge`wppack/sanitizer`Input sanitization`wppack/escaper`Output escaping`wppack/http-client`HTTP client abstraction`wppack/http-foundation`Request/Response abstraction`wppack/mailer`Mail transport abstraction↳ `wppack/amazon-mailer`Amazon SES transport↳ `wppack/azure-mailer`Azure Communication Services transport↳ `wppack/sendgrid-mailer`SendGrid transport`wppack/messenger`Transport-agnostic message bus↳ `wppack/sqs-messenger`Amazon SQS transport`wppack/serializer`Object serialization (Normalizer chain)`wppack/options-resolver`Options resolver (Symfony OptionsResolver extension)`wppack/debug`Debug and profiling`wppack/storage`Object storage abstraction↳ `wppack/s3-storage`Amazon S3 adapter↳ `wppack/azure-storage`Azure Blob Storage adapter↳ `wppack/gcs-storage`Google Cloud Storage adapter### Feature Layer

[](#feature-layer)

PackageDescription`wppack/admin`Admin page and menu registration`wppack/rest`REST API endpoint registration`wppack/routing`URL routing`wppack/post-type`Custom post type and meta registration`wppack/scheduler`Trigger-based task scheduler↳ `wppack/eventbridge-scheduler`Amazon EventBridge bridge`wppack/console`WP-CLI command framework`wppack/shortcode`Shortcode registration`wppack/nonce`CSRF token management`wppack/asset`Asset management (scripts and styles)`wppack/ajax`Admin Ajax handler`wppack/scim`SCIM 2.0 provisioning`wppack/wpress`.wpress archive format operations### Application Layer

[](#application-layer)

PackageDescription`wppack/plugin`Plugin lifecycle management`wppack/theme`Theme development framework`wppack/widget`Widget registration`wppack/setting`Settings API wrapper`wppack/user`User management`wppack/block`Block editor integration`wppack/media`Media management`wppack/comment`Comment management`wppack/taxonomy`Custom taxonomy registration`wppack/navigation-menu`Navigation menu management`wppack/feed`RSS/Atom feed management`wppack/oembed`oEmbed provider management`wppack/site-health`Site Health integration`wppack/dashboard-widget`Dashboard widget registration`wppack/translation`Internationalization utilities### Plugins

[](#plugins)

PackageDescription`wppack/debug-plugin`Debug toolbar plugin`wppack/redis-cache-plugin`Redis cache plugin`wppack/amazon-mailer-plugin`Amazon SES mailer plugin`wppack/s3-storage-plugin`Amazon S3 media storage plugin`wppack/eventbridge-scheduler-plugin`EventBridge scheduler plugin`wppack/saml-login-plugin`SAML 2.0 SSO login plugin`wppack/scim-plugin`SCIM 2.0 provisioning pluginInstallation
------------

[](#installation)

```
composer require wppack/hook
```

Each component can be installed independently. Install only what you need.

Architecture
------------

[](#architecture)

```
Plugin Layer        wppack/*-plugin
                         |
Application Layer   wppack/plugin, wppack/theme, wppack/media, ...
                         |
Feature Layer       wppack/admin, wppack/rest, wppack/scheduler, ...
                         |
Abstraction Layer   wppack/cache, wppack/mailer, wppack/messenger, ...
                         |
Infrastructure      wppack/handler, wppack/kernel, wppack/dependency-injection
                         |
                    WordPress Core

```

Documentation
-------------

[](#documentation)

See the [docs/](docs/) directory for detailed documentation on each package.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- WordPress 6.0 or higher

Development
-----------

[](#development)

```
# Install dependencies
composer install

# Run static analysis
vendor/bin/phpstan analyse

# Check coding standards
vendor/bin/php-cs-fixer fix --dry-run --diff

# Fix coding standards
vendor/bin/php-cs-fixer fix

# Run tests
vendor/bin/phpunit
```

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance99

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

33d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/35c2da973a64a21e8d23c221c1d284e4f1a04a74123318a978147e42a29eda23?d=identicon)[ttsuru](/maintainers/ttsuru)

---

Top Contributors

[![ttsuru](https://avatars.githubusercontent.com/u/578548?v=4)](https://github.com/ttsuru "ttsuru (997 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wppack-wppack/health.svg)

```
[![Health](https://phpackages.com/badges/wppack-wppack/health.svg)](https://phpackages.com/packages/wppack-wppack)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M646](/packages/sylius-sylius)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
