processwire-custom-page-classes

Community

Master ProcessWire custom page classes.

Authorwebmanufaktur
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance on creating and utilizing custom page classes in ProcessWire, enabling developers to build more robust, maintainable, and IDE-friendly websites.

Core Features & Use Cases

  • Custom Methods & Properties: Extend page functionality with your own logic.
  • IDE Integration: Leverage PHPDoc for autocompletion and type hinting.
  • Inheritance & Interfaces: Structure your code effectively and enforce contracts.
  • Use Case: You need to add a method to all your blog post pages to automatically calculate related posts based on categories. This Skill shows you how to define a BlogPostPage class and add that method, making it accessible directly from your page objects.

Quick Start

Use the processwire-custom-page-classes skill to enable custom page classes in ProcessWire by adding $config->usePageClasses = true; to your /site/config.php file.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: processwire-custom-page-classes
Download link: https://github.com/webmanufaktur/pwaiworkflow/archive/main.zip#processwire-custom-page-classes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.