PHP the Right way – a website/book full of the most useful information you will find about PHP
It is important to understand what namespaces are in PHP and how to use them. Otherwise you will be lost and have many pains.
Below is a series of great videos explaining PHP namespaces little by little in easy to find and digest chunks.\
PHP namespaces 1/10: What is a namespace in PHP?
Everything about PHP namespaces – OOP in PHP | Part 10
Storing secrets for Symfony applications – some ideas how to approach the topic
I couldn’t remember where the hell in the documentation I saw this. This is how you tell yarn to run encore and compile everything.
The easiest way to install Composer is by using the bash script provided here. What I do is use vim to create a file named composer-install.sh then post that script in it.
I do this in any folder, then I move the script to make it global as suggested in the documentation here.
Basically all you are doing is using the linux mv command to move the composer.phar script so it is in the users global space.
Composer is a dependency manager for PHP. Confusing to install, easy to use.
Composer documentation – the actual documentation helps.
A gentle introduction to composer as a dependency manager – excellent resource covering pretty much everything about PHP composer you could ever want to know. Well mostly.