Refactor Laravel, Symfony and plain-PHP code to be unit testable without changing behaviour: pin behaviour with characterisation tests, then extract hidden dependencies (facades, statics, new, clock, randomness, I/O) into injected collaborators in small, verified steps.
0 on GitHubby Black Pug Ltdv0.1.1MITupdated 1 month agorefactoring
/
Plugin php-testability-refactoring-skills from marketplace blackpug in gkwelding/php-unit-tests-skills. Commands read from the repo's manifest — 1 month ago.
What it installs
Skills (1)
refactor-for-testability
Refactor existing PHP code (Laravel, Symfony or plain PHP) so it can be unit tested, without changing its behaviour. Pins current behaviour with characterisation tests first, then extracts hidden dependencies (facades and helpers in services, `new` of collaborators, static calls and singletons, `now
Upgrade Laravel (10 to 13), Symfony (6.4 to 8) and PHPUnit / Pest one major at a time: reads composer.lock, plans each step, applies the official breaking changes, uses Rector where it applies, runs the tests after every step and stops with a report when a package blocks.
Write and review database schema migrations safely in Laravel and Symfony (Doctrine Migrations): shipped migrations left alone, reversible down(), zero-downtime ordering, large-table DDL, batched backfills, verified against a disposable database.
Deploy, manage and monitor your Hostinger services directly from Claude Code. The plugin connects Claude to Hostinger's remote MCP server, so you can ship sites and apps, manage domains and DNS, run WordPress and operate VPS servers without leaving your coding environment. There's nothing to install on your machine: no Node.js, no npm, no local server. Key features include one-prompt deployments for static sites, Node.js apps (built on Hostinger), full WordPress site imports, and WordPress plugins and themes, plus static and PHP sites on the Agency Plan. Beyond deployments, Claude can search and register domains, edit DNS records and snapshots, check build logs, and manage mailboxes, online stores, email marketing contacts, subscriptions and orders. It can also control VPS firewalls, snapshots and monitoring. Sign in through your browser (OAuth) on first use, or set a `HOSTINGER_API_TOKEN` from hPanel. How to use: there are no commands to memorize. Describe what you want and Claude picks the right tool or deployment skill. Try "deploy my static site to Hostinger", "deploy this Next.js app to example.com", "create an A record pointing example.com to 1.2.3.4", or "show VPS metrics for the last 24 hours."
Agent coordination and meta-programming - multi-agent orchestration, workflow automation, and safe refactor governance. Works best with other voltagent plugins installed.
UI/UX design intelligence. Searchable local database with 84 styles, 192 palettes, 74 font pairings, 25 charts, and 22 stacks (React, Next.js, Vue, Nuxt.js, Nuxt UI, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.
nyldn/claude-octopus 4,439
Maintain PHP Testability Refactoring Skills?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.