Workshops: Agentic Coding by Tech Stack

Agentic Coding with PHP, Laravel & Symfony: Workshop

PHP runs a large share of business web applications, from modern Laravel and Symfony projects to grown code that predates both. Coding agents can help with all of it, provided they know which era of PHP they are looking at. This workshop shows PHP teams how to use Claude Code, Cursor, GitHub Copilot or OpenAI Codex productively with Laravel and Symfony, and how to modernise older PHP safely with static analysis and automated refactoring.

Who is this workshop for?

  • PHP developers working with Laravel or Symfony
  • Agencies maintaining many client applications on different PHP versions
  • Teams responsible for grown PHP applications with no framework or an outdated one
  • Developers extending Symfony-based platforms such as Shopware
  • Tech leads planning PHP version upgrades

What you will take away

  • Give agents the context they need: PHP version, framework conventions, Composer scripts and coding standard.
  • Have agents build Laravel or Symfony features with migrations, validation and tests that follow framework idioms.
  • Use PHPStan or Psalm with a baseline as automatic feedback that improves agent output level by level.
  • Combine Rector for mechanical upgrades with agents for the remaining manual changes.
  • Avoid typical security mistakes in generated PHP code such as mass assignment, raw SQL and missing authorisation checks.

Agenda

  1. Module 1

    PHP projects as agents see them

    • Framework, PHP version and conventions in a rules file
    • Claude Code, Cursor, GitHub Copilot and OpenAI Codex in Composer projects
    • Exercise: agent-generated overview of routes, controllers and services
  2. Module 2

    Laravel with agents

    • Eloquent models, migrations and form requests
    • Pest or PHPUnit tests with factories
    • Artisan generators instead of hand-written boilerplate
  3. Module 3

    Symfony with agents

    • Services, dependency injection and configuration
    • Doctrine entities and migrations with human review
    • Exercise: a feature with controller, service and functional tests
  4. Module 4

    Static analysis as a guardrail

    • PHPStan or Psalm levels and baselines
    • PHP-CS-Fixer or PHP_CodeSniffer inside the agent loop
    • Security checks: mass assignment, SQL injection, CSRF, authorisation
  5. Module 5

    Modernising legacy PHP

    • Characterisation tests before any change
    • Rector rule sets for PHP version upgrades
    • Moving old code into a framework step by step

Legacy PHP: tests first, then agents

Much of the PHP code in companies was written before strict types, Composer or modern frameworks were common. Agents can read and explain this code surprisingly well, but changing it without a safety net is risky. Our approach starts with characterisation tests that capture current behaviour, followed by static analysis with a baseline, and only then agent-driven refactoring in small steps.

  • Capture behaviour with tests at HTTP or service level
  • Freeze existing warnings in a PHPStan baseline
  • Let Rector handle mechanical syntax upgrades
  • Use agents for the structural refactoring in between

For agencies and multi-project teams

Agencies often juggle Laravel, Symfony and older custom code across many clients. A shared baseline of agent rules plus a short project-specific file per repository keeps quality consistent without slowing down context switches.

Confidentiality matters here: we discuss which tools and plans are appropriate for code you hold on behalf of clients, and what to clarify in contracts and data processing agreements. Legal assessment stays with you.

Practicalities

Hands-on with your repositories or a sandbox, remotely or on-site in the DACH region and the EU, in English or German. Every participant receives a certificate of participation.

Frequently asked questions

Laravel or Symfony – do we have to choose?

No. The day covers both, and we weight the exercises according to your projects. Teams using only one framework get more depth on it.

Can agents upgrade code from PHP 7 to PHP 8?

They can do much of the work, especially combined with Rector and PHPStan. Behavioural changes such as stricter type handling still need tests and human review; we show a stepwise path.

Is WordPress covered as well?

Not in depth. WordPress has its own conventions and security topics, which we cover in a separate workshop. The general PHP practices from this day still apply there.

Workshop

Get in touch

Which PHP application would you modernise first if agents did the heavy lifting?

Tell us roughly how many people will join and pick dates that work – we will get back to you within 24 hours with a proposal for content, format and schedule.

Prefer to talk first?

15 minutes, free and without obligation – with our AI Trainers and AI Code Engineers.

Book a call for free (opens in new tab) +49 761 519 751 50 (24/7)

Request a training / workshop

Workshop: Agentic Coding with PHP, Laravel & Symfony: Workshop · 1 day

Dates that work for you (optional)

Suggestions about 2 weeks ahead – pick as many as you like

Reply usually within 24 hours · jocapps is ISO 27001 certified · Privacy