Skip to content

feat: add PHP language support to codebase-readiness#33

Merged
dgalarza merged 3 commits intomainfrom
dg-agent-ready-php
Mar 30, 2026
Merged

feat: add PHP language support to codebase-readiness#33
dgalarza merged 3 commits intomainfrom
dg-agent-ready-php

Conversation

@dgalarza
Copy link
Copy Markdown
Owner

Summary

  • Add references/languages/php.md with PHP/Laravel-specific assessment criteria covering all 8 dimensions (PHPStan/Larastan, Pest/PHPUnit, Laravel Pint, Form Requests, Enums, Pennant feature flags, migrations, etc.)
  • Update recon.sh to detect composer.json, .php source files, *Test.php test files, and PHP linting configs (phpstan.neon, pint.json, .php-cs-fixer.php)
  • Add php to supported languages list in SKILL.md and classify as dynamically-typed
  • Update all 5 dimension files to include .php in generic evidence-gathering commands and Laravel-specific patterns (database/migrations/, dropTable/dropColumn, function down, nullable/constrained)
  • Update report template to include PHP in dynamic language context section

Previously, running the assessment on a PHP/Laravel codebase required falling back to the Ruby language file as the closest analogue. This adds first-class support.

Test plan

  • Run /codebase-readiness on a PHP/Laravel codebase and confirm PHP is auto-detected without the "not in supported list" fallback message
  • Verify recon.sh correctly counts .php source files and *Test.php test files
  • Verify recon.sh detects composer.json, phpstan.neon, pint.json in manifest/linting sections
  • Confirm dimension agents use PHP-specific evidence commands from the language file
  • Confirm the report uses dynamically-typed weights with PHP-appropriate Type Safety description

Add a shareable gitignore template in configs/ covering CLAUDE.local.md,
local settings, and worktree state. Update the repo's own .gitignore with
the complete set of entries and add a star prompt to the README.
Add "Get the Agent-Ready Codebase Playbook" link to the featured
codebase-readiness section with dedicated UTM campaign tracking.
Move the star ask from the top of the README to after the
Skills/Agents/Bundles tables where readers have already seen value.
Add native PHP/Laravel assessment criteria so PHP codebases no longer
fall back to the Ruby language file as a closest analogue.
@dgalarza dgalarza merged commit bd1e385 into main Mar 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant