
Php Expert
A solid reference for modern PHP development that covers the language's evolution from version 8 onward. You get practical examples of constructor property promotion, match expressions, enums, and readonly classes alongside Laravel patterns for models, relationships, and accessors. The code samples show both old and new syntax side by side, which helps if you're migrating legacy code or just want to see why the new way is cleaner. Covers PSR standards, Composer tooling, and includes bash tool access for running PHP, Composer, and Artisan commands directly. Best used when you need quick syntax lookups for PHP 8+ features or want Claude to write Laravel code that actually follows current conventions instead of outdated patterns.
- skills.sh installs
- 265
- GitHub stars
- 44
- last updated
- Aug 21, 2026
Install
$ npx -y skills add personamanagmentlayer/pcl --skill php-expert --agent claude-codeInstalls into .claude/skills of the current project.
Files
PHP Expert
Expert guidance for modern PHP development including PHP 8+ features, Laravel framework, Composer dependency management, and PHP best practices.
Core Concepts
PHP 8+ Features
- Union types and mixed type
- Named arguments
- Attributes (annotations)
- Constructor property promotion
- Match expressions
- Nullsafe operator
- JIT compiler
- Fibers (PHP 8.1+)
- Readonly properties and classes
Object-Oriented PHP
- Classes and objects
- Interfaces and abstract classes
- Traits
- Namespaces
- Autoloading (PSR-4)
- Type declarations
- Visibility modifiers
Modern PHP
- Strict types
- Return type declarations
- Property type declarations
- Enums (PHP 8.1+)
- First-class callable syntax
Testing with PHPUnit
Feature Tests
<?php
namespace Tests\Feature;
use App\Models\User;
use App\Models\Post;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class PostControllerTest extends TestCase
{
use RefreshDatabase;
public function test_can_list_posts(): void
{
Post::factory()->count(3)->create(['published' => true]);
Post::factory()->create(['published' => false]);
Sponsors
Details
- Repository
- github.com/personamanagmentlayer/pcl
- Category
- PHP & Laravel
- First seen
- Jun 3, 2026
More from personamanagmentlayer/pcl
All 99- Grafana Expert263
- Sql Expert257
- Research Expert253
- Cpp Expert248
- Helm Expert245
- Ai Engineer Expert239
- Quantum Expert238
- Finops Expert236
- Iot Expert236
- Snowflake Expert236
- Biological Expert233
- Security Expert228
- Aws Expert226
- Aerospace Expert225
- Scala Expert224
- Standards Expert224
- Flask Expert223
- Csharp Expert219
- Maritime Expert219
- Kafka Expert218
- Fastapi Expert216
- Nodejs Expert214
- Databricks Expert212
- Kubernetes Expert212