PHPackages                             calm-canvas/archetype-theme-kit - 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. calm-canvas/archetype-theme-kit

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

calm-canvas/archetype-theme-kit
===============================

Archetype-Theme-Kit is a high-performance PHP library for WordPress developers. It provides a standardized foundation of core functions, global constants, and reusable utilities. Designed to streamline theme development, it ensures architectural consistency and clean code across multiple projects.

v1.0.0(6mo ago)08GPL-3.0-or-laterPHP

Since Dec 25Pushed 6mo agoCompare

[ Source](https://github.com/calm-canvas/archetype-theme-kit)[ Packagist](https://packagist.org/packages/calm-canvas/archetype-theme-kit)[ RSS](/packages/calm-canvas-archetype-theme-kit/feed)WikiDiscussions main Synced today

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

Archetype Theme Kit
===================

[](#archetype-theme-kit)

> **Important Note:**
>
> - This library is currently under development. Please exercise caution when installing and using it.
> - This library is specifically designed for WordPress theme development.

A high-performance PHP library designed to streamline WordPress theme development by providing a standardized foundation of core functions, global constants, and reusable utilities.

Introduction
------------

[](#introduction)

Archetype Theme Kit is a comprehensive toolkit built for WordPress theme developers who prioritize clean code architecture, consistency, and performance. It abstracts common theme development patterns into reusable, well-tested components that can be leveraged across multiple projects. By providing a structured foundation with dependency injection, caching utilities, and internationalization support, Archetype Theme Kit enables developers to focus on building unique theme features rather than reinventing foundational components.

Features
--------

[](#features)

- **Dependency Injection Container** - Aura\\DI-powered service container for managing dependencies and ensuring loose coupling between components
- **Transient Caching** - Built-in cache factory and transient management for optimized performance
- **Comment Utilities** - WordPress comment-related utilities and data structures for simplified comment handling
- **Global Constants** - Centralized constants for filter hooks, HTML attributes, internationalization, and duration values
- **Helper Functions** - Utility classes for BEM CSS naming conventions and data manipulation
- **Internationalization (i18n)** - Complete i18n support with Dictionary and Translator implementations for multilingual themes
- **Contract Interfaces** - Well-defined interfaces for extensibility (caching, widgets, i18n, helpers)
- **Widget Abstractions** - WordPress widget abstractions and streaming widget implementations for simplified widget development
- **Design Patterns** - Reusable design patterns including Singleton for common use cases
- **PSR-4 Autoloading** - Standard PSR-4 namespace autoloading for seamless integration

Installation
------------

[](#installation)

Install via Composer:

```
composer require calm-canvas/archetype-theme-kit
```

Then include the Composer autoloader in your WordPress theme:

```
require_once get_template_directory() . '/vendor/autoload.php';
```

Usage
-----

[](#usage)

Access services through the Engine's static resolver:

```
use CalmCanvas\ArchetypeThemeKit\Engine;

$service = Engine::resolve('service-name');
```

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

[](#requirements)

- **PHP**: 7.4 or higher
- **WordPress**: Compatible with recent WordPress versions
- **Composer**: For dependency management

License
-------

[](#license)

GPL-3.0-or-later

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance67

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

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

191d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2118017?v=4)[Thế Thắng Trần](/maintainers/tranthethang)[@tranthethang](https://github.com/tranthethang)

---

Top Contributors

[![tranthethang](https://avatars.githubusercontent.com/u/2118017?v=4)](https://github.com/tranthethang "tranthethang (8 commits)")

### Embed Badge

![Health badge](/badges/calm-canvas-archetype-theme-kit/health.svg)

```
[![Health](https://phpackages.com/badges/calm-canvas-archetype-theme-kit/health.svg)](https://phpackages.com/packages/calm-canvas-archetype-theme-kit)
```

###  Alternatives

[psr/event-dispatcher

Standard interfaces for event handling.

2.3k667.1M1.4k](/packages/psr-event-dispatcher)

PHPackages © 2026

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