Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
How it works
Ask it something hard.
📎 ai-skill-for-php.txtLOADED ✓
Review this Laravel service class for bugs, then write PHPUnit tests for the edge cases you find.
CLAUDE · WITH THIS SKILLYou get: a severity-ordered review of the service (an unguarded null from the repository, a loose == comparison, a missing transaction around two writes) with corrected snippets -> a rewritten class using readonly constructor promotion and a DB::transaction closure -> a PHPUnit test class with a data provider covering the null, empty and duplicate cases and a mocked repository -> the exact commands to run (phpunit --filter, phpstan analyse) and the one thing to check in staging before merging.
Questions before you buy? A person answers, usually the same day: hello@kissmyskills.com
// the file itself
Read it before you buy it.
The first lines of the file your AI will read, exactly as delivered. Nothing rewritten for the page.
Use the name Once the file is loaded, talk to it by name: “Serge, check this page.” That is what the name is for. It also keeps several skills apart in one chat.
// the skill your AI runs on
You are a senior PHP developer acting as the user's pair programmer, writing typed PHP 8 code with declare(strict_types=1) that passes PHPStan, PHPUnit and PHP-CS-Fixer. You have been activated to help the user write and review PHP.
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then just ask questions the way you normally would. You are a senior PHP developer acting as the user's pair programmer. You know modern PHP 8 idioms, the standard library, Composer and the ecosystem (Laravel, Symfony, PHPUnit, PHPStan, PHP-CS-Fixer), and you review code like a careful colleague. You optimise for correct, typed, readable code that runs on the user's PHP version and passes their tooling. Tone: direct, code first, explanation second. You are a helper inside the user's PHP work, not a job-role persona. · Modern features: strict_types, union and nullable types, readonly properties, enums, match, named arguments, attributes, constructor property promotion, first-class callables, fibers, the nullsafe operator. · Standard library: array_* and str_* functions, mb_*, DateTimeImmutable, PDO, json_encode with JSON_THROW_ON_ERROR, generators. · Composer: composer.json, PSR-4 autoloading, require vs require-dev, composer.lock, version constraints (^, ~), scripts, composer install vs update. · PSR standards that matter daily: PSR-4, PSR-12, PSR-3 logging, PSR-7 and PSR-15 HTTP, PSR-11 containers. · Frameworks: Laravel (Eloquent, Artisan, migrations), Symfony (DI container, Doctrine, console), and framework-free PSR-7 stacks. · Quality tools: PHPUnit, Pest, PHPStan and Psalm levels, PHP-CS-Fixer, Xdebug. · Runtime: php-fpm, php.ini settings that bite (memory_limit, max_execution_time, opcache), CLI vs web SAPI. · Security: prepared statements, password_hash, htmlspecialchars on output, CSRF tokens, never trusting request input. · Gotchas: loose == comparison, float money math (use integers or bcmath), timezone defaults, references in foreach. · Version differences: what 8.0 to 8.3 added and what breaks moving from 7.4. Do not quote deprecation lists you are unsure of. · Check the PHP version and framework when it changes the answer; if unstated, assume PHP 8.2 or newer and say so. · Ask whether the code runs in a web request, CLI command or queue worker when memory or time limits matter.
83 lines · .txt · instant download
// what's inside
What's inside this skill
Typed PHP 8 classes and services ready to paste into your PSR-4 project
Code review ranked by severity: bugs, security, types, then style
PHPUnit and Pest tests with data providers and mocks
PHP 7.4 to 8.x upgrade checklists and Composer fixes
PHP developers working daily in Laravel, Symfony or plain PHP who want a second pair of eyes on every file.
// two ways to get it
Use it inside your AI, or download it once.
Library plan
This skill and 2,500+ others, inside your chat
$9/mocancel anytime, or $59 a year
All 2,500+ skills, prompt packs and agents, loaded the moment you ask
Nothing to download or paste: connect once in Claude, ChatGPT, Claude Code or Cursor
New skills every week and 10 catalog files a month to download
Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
// ask your assistant
Or let your AI set up this skill for you.
Go to kissmyskills.com/pages/connector and set up the "AI Skill for PHP" skill (handle: ai-skill-for-php) for me
Paste it into Claude, ChatGPT, Claude Code, Cursor or Codex. Your AI walks you through connecting KissMySkills (about 3 minutes, 7-day free trial) and loads the skill. What your AI will read →
What you're actually buying
This Claude/ChatGPT skill turns your AI into a PHP AI pair programmer: it writes typed PHP 8 classes with strict_types and PSR-4 namespaces, reviews your code for bugs and security holes before style, writes PHPUnit or Pest tests with data providers, and explains a TypeError or an undefined array key from the stack trace you paste in.
It knows modern PHP idioms (enums, readonly properties, match, fibers), the standard library, Composer, PDO and the Laravel and Symfony conventions, plus PHPStan, PHP-CS-Fixer and php.ini settings that bite in production. It does not run or deploy your code; it prepares code, tests and commands you execute yourself and tells you which tool confirms the result.
Works the same way in Claude, ChatGPT and Gemini. One purchase, download the file, install in under 2 minutes, then paste your code or your error and ask.
// how to install
Under 2 minutes
Four steps. Any AI chat.
01
Download the file
After checkout, the download link lands in your inbox. Save the .txt file anywhere on your device.
02
Open your AI chat
Any AI chat you already use: Claude, ChatGPT, Gemini, Grok, Copilot or another.
03
Paste the prompt
Open the .txt file, copy the prompt section and paste it into Claude or ChatGPT - or add it to a Project so it is always there.
04
Start working
Your AI is now configured as a specialist. Ask it anything inside its domain.
No technical knowledge required.
With Library there is nothing to download. Connect your AI once, then ask for any skill by name.
It makes Claude or ChatGPT act as a PHP AI pair programmer: it writes typed PHP 8 code for your project, reviews the code you paste, writes PHPUnit or Pest tests, fixes Composer and autoloading issues, and explains errors from real stack traces.
Does it run or deploy my PHP code for me?+
No. The skill does not execute PHP, run tests or touch your server. It prepares the code, tests, composer commands and php.ini directives, and tells you which tool to run (phpunit, phpstan, php -l) to confirm the result.
Which PHP versions and frameworks does it cover?+
It defaults to PHP 8.2 and newer and asks when the version matters. It knows Laravel and Symfony conventions as well as framework-free PSR-7 code, and it produces migration checklists for moving legacy PHP 7.4 code to 8.x.
Is this the same as the PHP developer role skill?+
No. A role skill is a persona that plans and architects like a job title. This PHP skill is a helper inside your daily coding: it writes, reviews and debugs the PHP file in front of you and matches your PHPStan level and coding standard.
Ready to give your AI a specialist?
This one and 2,500+ others, inside Claude, ChatGPT, Claude Code, Codex or Cursor. Cancel anytime.