Training course · Windsurf · PHP & Laravel/Symfony

Windsurf for PHP Developers

Develop with the Windsurf AI IDE and its Cascade agent: flows, memories, rules, workflows and safe use across the team.

Duration
2 days (14 hrs)
Format
Online or on-site
Language
German or English
Participants
open dates or exclusive for your team
Certificate
Certificate of attendance

Overview

“Windsurf for PHP Developers” is designed for roles such as PHP developers working with Laravel or Symfony, Developers of e-commerce systems such as Shopware or Magento and Agency teams juggling many client projects in parallel and shows step by step how to use Windsurf productively, safely and transparently in PHP & Laravel/Symfony – from the fundamentals to advanced workflows.

Windsurf is an AI-powered development environment built around its agent, Cascade. Cascade understands the structure of your project, follows your actions in the editor and terminal, and works with you according to the flow principle: you and the agent take turns on the same task without having to re-explain context over and over. In this two-day course you will learn how to use Cascade effectively for features, debugging and refactoring, and how to make the most of intelligent completion in your daily development work.

To keep results consistent across a team, you steer Cascade with global and workspace rules, rely on memories for lasting project knowledge and automate recurring procedures with workflows that run from a slash command. You will connect external tools through MCP, control how terminal commands are executed and decide which data Cascade is allowed to see. Finally, you will define rules for code review, security and data protection so that Windsurf can be used responsibly within your organisation and its existing processes.

PHP powers a large share of the web – from Laravel and Symfony applications to Shopware and Magento stores and bespoke platforms that have evolved over many years. As a result, modern framework projects frequently sit alongside legacy code without types, tests or Composer structure. AI coding assistants and agents help on both fronts: they write PHPUnit and Pest tests, bring code up to modern language standards with Rector, work through PHPStan findings level by level, generate Eloquent or Doctrine models with migrations and explain tangled legacy logic. The prerequisite is good context on framework conventions, coding standards and the test environment. This course teaches you to use agents so that modernisation becomes predictable and safe.

The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.

Who is this course for?

  • PHP developers working with Laravel or Symfony
  • Developers of e-commerce systems such as Shopware or Magento
  • Agency teams juggling many client projects in parallel
  • Teams modernising legacy PHP applications

Typical challenges we address

  • Legacy code without type declarations, namespaces or automated tests
  • Laborious upgrades of PHP versions and major framework releases
  • Security risks from SQL injection, XSS and unsafe file uploads in old code
  • Tight deadlines on agency projects combined with high quality expectations

What you will be able to do

  • You use Cascade productively in flow for features, debugging and refactoring.
  • You steer Windsurf’s context precisely and keep sensitive content protected.
  • You maintain memories and rules that reliably enforce your project conventions.
  • You automate recurring procedures with workflows and connect external tools via MCP.
  • Use AI agents for tests, static analysis and upgrades in Laravel, Symfony and legacy projects.
  • Modernise legacy code incrementally and safely with AI support.
  • Recognise typical security flaws in generated and existing PHP code and fix them in a targeted way.

Course outline

Day 1

Module 1 Getting to know Windsurf and Cascade
  • Installation, importing existing editor settings and basic configuration
  • Cascade in code and chat mode: when the agent edits and when it only advises
  • The flow principle: how Cascade takes your editor and terminal actions into account
  • Intelligent completion and inline commands in everyday development
Module 2 Steering context
  • Understanding codebase indexing and referencing relevant files or directories
  • Bringing documentation, web sources and terminal output into context
  • Excluding sensitive content from context with ignore files
  • Structuring sessions and starting afresh when the topic changes
Module 3 Memories and rules for consistent results
  • Reviewing and maintaining auto-generated and manually created memories
  • Creating and versioning global and workspace rules
  • Expressing architecture, style and testing guidelines as effective rules
  • Activating rules selectively by file pattern or occasion
Module 4 Workflows and automation
  • Defining recurring procedures as workflows and launching them via slash command
  • Building workflows for release preparation, testing or code maintenance
  • Connecting MCP servers for issue trackers, databases or internal services
  • Controlling terminal command execution with allow and deny lists

Day 2

Module 5 Quality, review and governance
  • Tracing Cascade’s changes, accepting them partially or reverting them
  • Using a test-driven approach and preview features for verification
  • Team settings, data protection options and handling of secrets
  • Defining review processes and accountability for AI-generated code
Module 6 Practice lab: PHP & Laravel/Symfony
  • Generating PHPUnit and Pest tests
  • Raising PHPStan levels step by step
  • Upgrades with Rector
  • Building Laravel and Symfony features
  • Understanding and untangling legacy code
  • Finding security vulnerabilities
Module 7 Data protection, quality & transfer to daily work
  • PHP applications frequently process customer data from shops and portals, so database dumps and logs containing personal data must never go into prompts unfiltered. Check new Composer packages for licence and vulnerabilities, keep credentials from .env files out of context and, as an agency, agree contractually whether client code may be processed by AI services.
  • Ground rules for safe AI use in your team
  • Checking results: facts, sources, tests and the four-eyes principle
  • Personal action plan for the next 30 days
  • Open questions, outlook and resources for further learning

Practical scenarios from your field

Generating PHPUnit and Pest tests

The agent writes unit and feature tests for controllers, services and models, uses factories and database transactions, and runs the tests iteratively until they pass consistently.

Raising PHPStan levels step by step

The AI works through static analysis findings systematically, adds type declarations, generics annotations and return types, and raises the analysis level in controlled steps without changing behaviour.

Upgrades with Rector

Rector rules are configured and run, remaining incompatibilities in PHP or framework upgrades are fixed by hand and deprecations surfaced in logs and tests are cleared systematically.

Building Laravel and Symfony features

From a functional description, the assistant creates migrations, Eloquent or Doctrine entities, form requests or validators, controllers, policies and tests – all in line with framework conventions.

Understanding and untangling legacy code

The assistant explains procedural legacy logic, extracts functions into namespaced classes and introduces Composer autoloading, laying the groundwork for further modernisation. Characterisation tests pin down the existing behaviour first.

Finding security vulnerabilities

The AI checks code for unsafe SQL queries, missing output escaping, CSRF gaps and insecure uploads, replacing problem areas with prepared statements and built-in framework mechanisms.

Possible hands-on projects

Laravel admin panel

A small management back end with authentication, roles, CRUD screens and feature tests, built by an AI agent from a short specification.

Symfony console importer

A Symfony console command that validates CSV or XML data, imports it into Doctrine entities and logs errors in a clear, readable way.

Upgrade readiness check

A script that runs PHPStan, a Rector dry run and Composer audit against a PHP project and produces a plain-language report on upgrade effort.

Prerequisites

You program regularly in at least one language and are familiar with Git and a modern IDE. Solid PHP skills and experience with Laravel or Symfony, Composer and Git.

Technical requirements

Your own laptop with the Windsurf editor, Git and your usual toolchain installed; a Windsurf account with access to Cascade is required.

Data protection & compliance

PHP applications frequently process customer data from shops and portals, so database dumps and logs containing personal data must never go into prompts unfiltered. Check new Composer packages for licence and vulnerabilities, keep credentials from .env files out of context and, as an agency, agree contractually whether client code may be processed by AI services.

Suggested dates

All dates are suggestions – your preferred date is always possible.

  • Thu, 26 November 2026 – Fri, 27 November 2026 Online Request
  • Tue, 8 December 2026 – Wed, 9 December 2026 Stuttgart Request
  • Tue, 19 January 2027 – Wed, 20 January 2027 Berlin Request
  • Thu, 4 February 2027 – Fri, 5 February 2027 Online Request
  • Wed, 10 February 2027 – Thu, 11 February 2027 Munich Request
  • Thu, 18 February 2027 – Fri, 19 February 2027 Online Request

Frequently asked questions

What does Windsurf mean by flows?

Flows describe the close collaboration between you and Cascade. The agent observes what you do in the editor and terminal and takes those actions into account in its next steps. As a result you do not have to keep explaining where you are, and you can move smoothly between doing the work yourself and delegating it to the agent.

How do memories, rules and workflows differ?

Memories store knowledge that Cascade has gathered while working or that you have explicitly recorded. Rules are guidelines you write that shape the agent’s behaviour permanently. Workflows are reusable sequences of steps for recurring tasks, launched with a slash command. Together they keep results consistent across the whole team.

Can I use Windsurf with my existing projects and languages?

Yes. Windsurf is language-agnostic and works with your existing toolchain, including build tools, package managers and test frameworks. Whether you work on back end, front end, data processing or infrastructure code, what matters is giving Cascade good rules and clear context. Each course variant adds the specific focus for your field.

Is AI-assisted coding worthwhile for old PHP code without a framework?

That is exactly where it shines. AI assistants explain convoluted procedural logic, write characterisation tests that pin down existing behaviour and then introduce namespaces, autoloading and types step by step. This gives you a safe foundation for modernising legacy applications instead of attempting a risky full rewrite.

How should agencies handle client code and AI?

Agencies should agree with their clients contractually whether, and with which services, source code may be processed. On the course we discuss options such as business licences with no training on your data, exclusion rules for sensitive files and documented review processes that give your clients full transparency.

How much does “Windsurf for PHP Developers” cost?

The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.

Can I suggest my own date?

Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.

Is the course online or on-site?

Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.

More courses for PHP Developers

More Windsurf courses

All 32 Windsurf courses