PHP Framework Development Skills

Summarize canonical PHP framework patterns for Controllers, Services, Repositories, and Propel usage.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/cedpaqlab/nexus-php-framework --skill php-framework-development-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PHP Framework Development Skills
Source: https://github.com/cedpaqlab/nexus-php-framework/tree/main/.cursor/skills
Command: npx skills add https://github.com/cedpaqlab/nexus-php-framework --skill php-framework-development-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized blueprint for building modular PHP framework components, reducing boilerplate, ensuring Propel ORM discipline, and aligning teams on a consistent directory structure and naming conventions.

Core Features & Use Cases

  • Standardized Component Templates: Controllers, Services, Repositories, and Connectors documented with best practices.
  • Propel-driven Architecture: Enforces 100% Propel ORM usage for data access with clear separation of concerns and transaction handling.
  • Domain-driven File Organization: Domain paths and file naming conventions to support scalable, maintainable codebases.
  • Scaffolding Patterns: Templates and checklists that accelerate new domain feature development (controllers, services, tests, migrations, seeders).
  • Use Case: When starting a new feature, apply the Skill to generate skeletons and templates for a new domain (e.g., Blog, Ecommerce) ensuring consistency.

Quick Start

  • Review the Skill's recommended patterns in Skill 1-11.
  • Create a new domain by scaffolding Domain layer components (Controller, Service, Repository, Connector) using the provided templates.
  • Run the standard test suite and Propel model generation steps to validate structure

Frequently Asked Questions about PHP Framework Development Skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a domain-driven PHP module using Propel ORM?

Structure a domain-driven PHP module using Propel ORM by applying a layered architecture: Controller -> Service -> Repository -> Connector. This enforces strict separation of concerns and ensures 100% Propel ORM usage for data access.

What is the best way to scaffold a new PHP framework domain feature?

The best way to scaffold a new PHP framework domain feature is using standardized templates for controllers, services, repositories, and connectors. This accelerates development and ensures consistent directory structure and naming conventions across teams.

Does this PHP framework pattern enforce strict separation of concerns for data access?

Yes, this PHP framework pattern enforces strict separation of concerns for data access. It mandates 100% Propel ORM usage within the Repository layer, ensuring transaction handling and data logic remain isolated from controllers and services.

How do I generate Propel models and run tests for a new scaffolded domain?

Generate Propel models and run tests by executing the standard Propel model generation steps and test suite after scaffolding domain layer components. This validates the structure and ensures the new domain aligns with framework conventions.

Can I use this scaffolding approach for large ecommerce or blog domains?

Yes, you can use this scaffolding approach for large ecommerce or blog domains. The domain-driven file organization and standardized component templates support scalable, maintainable codebases for complex feature development.

Why does my PHP framework need standardized naming conventions and connectors?

Your PHP framework needs standardized naming conventions and connectors to reduce boilerplate and align architecture teams. Consistent templates for Connectors ensure scalable integration and maintainable domain-driven codebases.