Tomas Votruba
@votrubaT
"The best teachers are those
who show you where to look,
but don't tell you what to see."
@PatricioOnCode
"Upgrading software is like basic hygiene.
Do it daily for 10 minutes and you'll live long and healthy life.
Skip it for year or two and you'll find yourself in hospital (in better case)."
Laravel 5.8 → 6
2019
Facade aliases to FQN
composer.json → "php" : "^7.0"
(private Property $promotion)
strict_types=1
param type declarations
arrow => functions
native ENUMs
#[Attributes]
namedArguments: true
composer.json → "php" : "^7.0" → "^7.4"
"If everyone here would create
a single upgrade rule today,
we would cover whole PHP and Laravel changes
from its first version to the latest version"
The link to the demo repository will be on the last slide 😉
to save you from photos 🤳