Never without. You won't accomplish any larger project without OOP.
A good entry for PHP OOP would be Laravel. Great docs, easy to learn and amazing community.
And even WordPress OOPs itself but limits itself by this "we want simple updates and support every dev" policy. 🤮
Yeah, always use OOP and as Gummibeer suggested, use a framework. This is true even for small personal projects. It makes life a lot easier.
If the project calls for it! Not every simple script needs to be OOP. I think it makes it more sense for complex and growing projects. If it’s something I can do in less than 200 lines of code in a simpler way then no. A great thing about PHP is that it can be written in functional, OOP and procedural.
OOP doesn’t make good code on its own either, it’s possible to write good and bad code in every style.
It’s pretty widely accepted at this point that PHP standards are OOP and that the language is becoming more and more object-capable as the versions go on.
Disagree here. EVERY of my projects starts with a composer.json and PSR-4 which requires OOP.If the project calls for it! Not every simple script needs to be OOP.