Repository inventory

pluginagentmarketplace/custom-plugin-php

Skills indexed from this repository, with install-style signals scoped to the repo.
5 skills10 GitHub stars0 weekly installsPythonGitHubOwner profile

Overview

This skill teaches modern PHP fundamentals, focused on PHP 8.x syntax, OOP, the typed system, and Composer-based workflows. It is structured for progressive learning with hands-on exercises, practical examples, and version-aware guidance. Use it to build reliable, maintainable PHP applications and to upgrade legacy code to modern PHP idioms.

How this skill works

Select a topic (syntax, oop, type-system, php8-features, composer, standards) and a level (beginner, intermediate, advanced). The skill loads targeted modules, returns concise explanations, code examples, and exercises appropriate to the chosen PHP version (default 8.3). It validates inputs, handles version mismatches with recommendations, and offers retryable operations for transient errors.

When to use it

  • Learning PHP 8.x from scratch or refreshing core syntax and control structures
  • Mastering object-oriented patterns, SOLID principles, and dependency injection
  • Adopting the modern PHP type system: union, intersection, readonly, and typed constants
  • Preparing to migrate legacy projects to PHP 8+ or to use new language features safely
  • Setting up Composer-based projects, PSR autoloading, and code style compliance

Best practices

  • Enable strict_types and prefer explicit type declarations for functions and properties
  • Use constructor property promotion and readonly for immutable data objects
  • Prefer small, focused classes and follow SOLID and single-responsibility principles
  • Adopt PSR-12 formatting and PSR-4 autoloading; run composer dump-autoload when needed
  • Write unit tests for core logic and include type-related test cases for edge conditions

Example use cases

  • Beginner: walkthrough of variables, control structures, functions, and basic error handling
  • Intermediate: design a Shape hierarchy, implement repositories, and create a simple DI container
  • Advanced: deep dive into PHP 8.x features (enums, fibers, typed class constants, property hooks)
  • Composer: initialize a package, configure PSR-4 autoloading, and manage dependencies
  • Standards: audit a codebase for PSR compliance and modernize deprecated patterns

FAQ

Target the highest PHP version available in your deployment; the skill defaults to 8.3 and provides compatibility notes and fallback suggestions for lower versions.

Does the skill provide exercises and tests?

Yes. Each module includes practical exercises and PHPUnit test templates to validate implementations and reinforce learning.

5 skills

More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational