Type-Safe PHP

Find errors before your program is executed! Modern development tools will help you.

  • Goal-oriented use of static code analysis
  • Document and enforce array structures
  • Immutability, Templated Types, and more
Type-Safe PHP

Type-Safe PHP

Since version 7, PHP supports significantly more type safety during programming. This means that many errors can be detected during development, before a program is even executed.

In this practice-oriented training, you will learn how to significantly increase the quality of your PHP code using the powerful static analysis tool PHPStan. In interactive live coding, you will learn how to use PHPStan correctly, how to successfully integrate it into your projects, and how to make targeted adjustments to your code. The goal is to sustainably reduce the probability of errors and to increase the maintainability of your projects.

From the Contents

  • What is type safety and how does it benefit me?
  • Introducing PHPStan to a project
  • What does PHPStan tell me about my code?
  • Document and enforce array structures
  • Immutable Objects
  • Templated Types
  • More type safety through assertions
  • It can be even stricter: useful extensions for PHPStan

Who should participate?

The training is aimed at all PHP developers who create or maintain complex applications.

Are there requirements for participation?

We recommend several months of experience with programming in PHP or a similar programming language. Participants should be familiar with the basic concepts of procedural and object-oriented programming.

What this training offers you

  • You will learn how to use static code analysis in a targeted manner
  • You can document and verify the structure of the array
  • You will learn how to reduce the probability of errors in your code

Frequently Asked Questions

Find answers to your questions about our training courses

Why are there no full-day online courses?
Our content is designed for optimal online learning: Short, focussed sessions promote concentration and provide time to process what has been learned between units.
Are the training sessions live or recorded?
All our training courses take place live as a video conference and are led by an experienced trainer. Participants can ask questions at any time.
What makes your training courses unique?
Our training courses combine hands-on tasks with live coding and solving real-life problems. Our experienced trainers guarantee a particularly good learning experience.
Are your training courses remote or in-person?
We offer our training courses both remotely and in person in order to meet the different requirements of our customers.
Can you tailor training courses specifically to our needs?
Naturally. We can customise our training courses to the individual needs of teams and their technology stacks at any time.
What advantages do individualised training courses offer?
In-house training courses allow you to arrange individual topics, flexible dates and guarantee targeted learning in a familiar environment. This is usually financially viable for four or more participants.
Is there a certification?
Yes, participants will receive a certificate on request after successful participation.

Type-Safe PHP

Book now or talk to us about how we can customise this training for your company.

Jul 2025

Duration: 4 hours

02 and 09 Jul 2025, 09:00am-11:00am (CEST)

399 €
Add to Calendar online (Zoom) Sebastian Bergmann English
Attend via Flatrate

Jul 2026

Duration: 4 hours

Days and times have not yet been finalised.

399 €
online (Zoom) Sebastian Bergmann English
Let me know

As individual training (online)

Duration: 4-8 hours

Your Preferred Date!

from 1800 €
online (Zoom) Sebastian Bergmann English / German
Discuss Customized Options

As in-house training (on-site)

Duration: 1 day (with additional topics)

Your Preferred Date!

from 3000 €
Your location Sebastian Bergmann English / German
Discuss Customized Options