Training course · Cursor · PHP & Laravel/Symfony

Cursor for PHP Developers

Work productively with the AI code editor Cursor: agent mode, rules, codebase context, Tab completion, background agents and review.

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

“Cursor 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 Cursor productively, safely and transparently in PHP & Laravel/Symfony – from the fundamentals to advanced workflows.

Cursor is an AI code editor built on VS Code that weaves language models deeply into everyday development. Alongside context-aware Tab completion, it offers an agent mode that searches files on its own, plans changes across the whole project, runs terminal commands and fixes errors iteratively. In this two-day course you will learn to use Cursor with purpose: choosing the right interaction mode, steering context deliberately and combining AI assistance with your existing workflow of version control, automated testing and peer code review.

A key focus is making Cursor work for teams. Project rules let you capture architectural decisions, naming conventions and testing strategies so that the agent produces consistent results. You will learn to make good use of codebase indexing, targeted references to files, documentation and symbols, and MCP integrations. You will also delegate tasks to background agents, review their output as pull requests and set up a review process that takes quality, security and data protection seriously across the organisation.

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 choose the right Cursor mode for each task and use it efficiently.
  • You steer codebase context precisely and get more accurate suggestions as a result.
  • You write project rules that reliably enforce your team’s conventions.
  • You use agent mode and background agents for features and refactorings with verifiable results.
  • 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 Setting up Cursor and understanding its modes
  • Installation and migration of VS Code settings and extensions
  • Differences between Tab completion, inline edits, Ask mode and Agent mode
  • Choosing a model per task: balancing speed, depth and cost
  • Privacy mode and organisation-level settings
Module 2 Steering codebase context
  • How codebase indexing works and where its limits lie
  • Referencing files, folders, symbols, documentation and web sources precisely
  • Using ignore files to exclude sensitive or irrelevant content
  • Avoiding overlong chats and restarting tasks with fresh context
Module 3 Rules for consistent team results
  • Creating and versioning project rules and scoping them by file pattern
  • Expressing architecture, style and testing conventions as effective rules
  • Separating user rules from team rules
  • Refining rules iteratively based on the agent’s typical mistakes
Module 4 Agent mode in practice
  • Building features step by step with plan, implementation and tests
  • Running multi-file refactorings safely with checkpoints
  • Approving terminal commands deliberately and feeding error output back
  • Connecting MCP servers for issue trackers, databases or browser testing

Day 2

Module 5 Background agents, review and governance
  • Delegating tasks to background agents and running them in parallel
  • Reviewing results as branches or pull requests and steering follow-ups
  • Using AI-assisted code review alongside human review
  • Addressing security risks, secrets and licensing in enterprise use
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 an IDE such as VS Code. Solid PHP skills and experience with Laravel or Symfony, Composer and Git.

Technical requirements

Your own laptop with Cursor, Git and your usual development environment installed; a Cursor account with access to agent features is recommended.

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.

  • Mon, 23 November 2026 – Tue, 24 November 2026 Online Request
  • Tue, 1 December 2026 – Wed, 2 December 2026 Kaiserslautern Request
  • Thu, 10 December 2026 – Fri, 11 December 2026 Online Request
  • Wed, 16 December 2026 – Thu, 17 December 2026 Bremen Request
  • Thu, 21 January 2027 – Fri, 22 January 2027 Online Request
  • Wed, 27 January 2027 – Thu, 28 January 2027 Salzburg Request

Frequently asked questions

Do I need prior VS Code experience to use Cursor?

It helps, but it is not essential. Cursor is built on VS Code, so navigation, shortcuts and extensions feel familiar and existing settings can be imported. If you currently work with JetBrains IDEs or other editors, a short introduction during the course gets you up to speed quickly so you can concentrate on the AI features.

How do I prevent confidential code from reaching third parties?

Cursor offers a privacy mode and organisation settings that restrict how code is stored by the provider. You can also use ignore files to exclude sensitive areas from indexing and context. In the course we discuss how to align these options with internal policies, data protection requirements and sound handling of secrets.

What do rules add compared with well-written prompts?

A prompt applies to one request only, whereas rules persist and apply to the whole team. They capture architectural decisions, preferred libraries, testing strategies and style guidelines, so nobody has to repeat that information and the agent produces code that fits your codebase. Rules are versioned with the project and evolve together with it.

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 “Cursor 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 Cursor courses

All 32 Cursor courses