Keep your money, and invest your TIME.
Damn near any programming language or framework can be learned with the right tutorials, your TIME, and TINKERING.
Learn the basics of programming:
- Variables
- Conditional Statements (IF, IF ELSE, Ternary Operators, Switch etc...)
- Operators
- Data types
- Loops (For, While, For Each etc...)
- Functions
- Classes and OOP
Learn these basics and you can apply them to ANY programming language.
It will then be a matter of learning the syntax nuances of that particular language (Or Framework).
Also what is your goal for learning PHP?
PHP alone isn't going to get you much work, but learning a PHP framework more than likely will.
PHP still powers much of the web, though JS/Node is replacing a lot of it, along with Python (More so JS and Node).
If you are still interested in PHP then you could learn one of these:
- Laravel (Lots of Work) (Lots of Competition)
- Wordpress Development (Themes, Plugins, Block Development) (Lots of Work) (Lots of Competition)
- Drupal (Lots of Work) (Not as much Competition)
- Magento (Lots of Work) (Not as much Competition)
- Symfony
- Joomla (Lots of Work) (Not as much Competition) (Not as popular)
- CodeIgniter
- You will ALSO need to learn the basics of SQL to be "Full Stack"
Even if you were never to get hired by a company, you could always FREELANCE.
Do your own thing, but you will have to hustle to make sure new work/clients are coming in, as well as manage current clients and "Scope Creep".
Outside of PHP, you should also learn JS/Node or a JS framework:
-React (Next JS) (React Native) (Gatsby)
- Vue (Nuxt JS)
- Angular
- Svelte
What are your front-end skills like, do you already know HTML, CSS and JS? If not you will at a bare minimum need to learn HTML to work with PHP.
Also most of the information you are looking for is available for FREE online.
Example:
If you are still interested in learning Web Development with PHP, install a local server/environment, and TINKER
Here are a few more resources:
- https://www.w3schools.com/
-
Laravel - The PHP Framework For Web Artisans
-
WordPress Developer Resources | Official WordPress Developer Resources
-
https://www.youtube.com/@TraversyMedia/videos
-
WampServer
-
MAMP & MAMP PRO - your local web development solution for PHP and WordPress development
Sorry for the long post, and GOOD LUCK!