
Type-Safe PHP
Since version 7, PHP allows significantly more type safety when programming. This means that many errors can be found before a program is even executed.
In this training, you will learn about the two development tools Psalm and PHPStan through live demonstrations. You will learn to use the tools correctly and to make targeted adjustments to your source code in order to significantly reduce the probability of errors.
- You can use Psalm and PHPStan for your PHP projects
- You understand the output of Psalm as well as PHPStan and can derive appropriate measures from it
- You can make previously implicit assumptions about your code explicit through annotations
- You can have these explicit assumptions checked automatically by Psalm and PHPStan
This training is intended for advanced PHP developers who create or maintain complex applications.
Participants should have about 3-4 years of experience programming with PHP or a similar programming language. Participants should have practical experience with object-oriented programming and be confident in using an IDE, common development tools, and Git version control.
-
- You book your training directly online with us. For purchase on account or special group rates contact us or write an email.
- You will receive an email within a short time in which we confirm your participation.
-
Within 48 hours during our business hours you will receive your
Invoice
Companies with their registered office in Germany are of course entitled to deduct input tax from the invoice. For European Union companies based outside Germany, the reverse charge procedure applies. For companies based outside the European Union, no sales tax is due.
- About a week before the first online session, we will send you an e-mail with all the important information about your training. In addition to a link to the video conference, this contains comprehensive information on the technical requirements and any preparations you should make.
-
Introduction
- Welcoming, introducing and collecting expectations (ca. 15 min)
- Introduction: What is type safety? (ca. 15 min)
- Installing and configuring Psalm (ca. 15 min)
- What does Psalm tell me about my code? (ca. 30 min)
- Installing and configuring PHPStan (ca. 15 min)
- What does PHPStan tell me about my code? (ca. 30 min)
- Psalm or PHPStan? Or both? (ca. 15 min)
- Discussion of the work assignment (ca. 15 min)
-
Work Assignment
In order to directly gain your own practical experience, you will work on your work assignment in your own time until the next online session.
Work assignments are designed to take 1 to 2 hours to complete. You decide whether you work on the exercises alone or in a work group. Forming a work group with another training participant you have never met before can be an interesting and instructive experience.
Of course, we will not leave you alone with questions about your work assignments. Between the online sessions, you will receive support via e-mail from the trainer on all questions regarding the previous training content and the work assignments.
-
At the latest until the day before the next online session, you can send your solution to the trainer by e-mail. At the beginning of the next online session, examples selected from all submissions will be discussed and improved by the trainer.
-
The Next Level of Type Safety
- Joint review of selected work assignments (ca. 30 min)
- Q and A (ca. 15 min)
- Documenting and enforcing array structures (ca. 15 min)
- Immutable objects (ca. 15 min)
- More type safety through assertions (ca. 15 min)
- Templated Types (ca. 15 min)
- Summary and Outlook (ca. 30 min)
- Feedback and Closing (ca. 15 min)
-
-
Material
After the last online session, you will receive all materials used in the training, such as presentations, sketches, or sample code, together with supplementary material such as links and references to further literature for follow-up. For some training topics, you will also receive access to additional digital content on the topic of the training.
-
Certificate of Participation
All participants who have attended the online sessions and completed their work assignments will receive a certificate of participation from us.
-
E-Mail Support
Of course, we also support you in integrating what you have learned into your everyday work. We provide support via e-mail on all questions related to the topics of the training for all participants from the last online session until the closing meeting.
-
Closing Meeting
After the end of the email support, you will have another opportunity to ask the trainer your questions in the joint closing meeting (circa 30 minutes).
In addition to an outlook on further topics, the trainer has a few more tips and tricks up his sleeve. And last but not least, we are interested in your final feedback on our training.
-
-
Three to six months after the training, you should consider attending more advanced training to build on the practical experience you have gained up to that point.
We will also be happy to accompany you on your further path in an advisory or coaching capacity. Please contact us.
- two video conferences for knowledge transfer (3 hours each)
- one work assignment of 1-2 hours processing time with e-mail support during the processing period
- four weeks of email support after the last online session
- joint closing meeting (30 min)
Please note that depending on the training booked, the individual online appointments may each take place at different times of the day.
Technical requirements for attending an online training.
Available online "inhouse"
InquireExclusive and customized?
We are happy to conduct any training exclusively online ("in-house") for you. We adapt the content and focus to your specific wishes and needs and optionally work with examples directly from your code base.