# Laravel

Laravel folgt den Regeln des PSR-2 Coding Style Guide (opens new window).
Zusätzlich wir die Naming Convention der Laravel Best Practises (opens new window).
Alle weiteren Best Practises sollten ebenfalls soweit wie möglich befolgt werden.
Außerdem soll, soweit möglich, Type Hinting (opens new window) genutzt werden. Dabei sind folgende Dinge zu beachten:

We need to use the strict mode. We need to control the data which flow in our application. If you need the weak typing, there is a problem in your implementation. Therefore: fix it! We shouldn’t try to guess what variable has what type. Avoid the nullable type as much as you can

https://thevaluable.dev/php-7-type-hinting-pitfalls/ (opens new window)

# übergeordnetes Thema

3.1 Wie Code geschrieben werden soll

Last Updated: 2/15/2021, 11:43:21 PM