One of the most important things you need to know to learn any type of programming language, especially PHP, is the learning process (roadmap) and the true starting point. If you learn PHP step by step and in a principled way, you will become one of the best programmers in this field. A powerful backend developer! In the following, I have tried to draw a clear path for you so that you can find your way according to what you already know (your current level) and your goal of learning PHP. By following this path, you can reach your goal in the fastest possible time, in the easiest way possible, and in a principled way.
Those who want to learn PHP start searching for the best resources and read a few articles. In these articles, they find names such as OOP, MVC, and Framework, and then research on them. One article emphasizes OOP and the other says the best way is MVC. One of the articles starts by naming and reviewing all the available frameworks for PHP and then comparing them to find which one is better. Laravel or CodeIgniter or...? Another article introduces and compares IDEs for PHP programming and finally concludes that PHP Storm is the best. Then you are alone with a bunch of different names that you know almost nothing about and you can't decide which one is better.
I had students who asked me before starting PHP if it was better to learn Laravel or CodeIgniter. When I ask how much PHP you know, they say they just want to start! Many start with the same method and try to learn Laravel at the very beginning, for example, because most companies in the world want to hire people who know this framework. They study for a few days and then drop PHP learning forever because no matter how much they read about Laravel, they don't understand anything. It's completely normal because they misunderstood the starting point! It's like giving a spaceship to a child who wants to learn to ride a bicycle for the first time.
To start learning PHP, I've outlined the steps and divided them into 4 levels. Depending on your current level and the purpose of your PHP learning, you can choose the right level and study the courses available on this site or even other websites.