The code is more concise, easier to maintain, and has stronger reusability: reusability, flexibility, and scalability.
Object-oriented thinking is more in line with the general rules of how humans look at things.
PHP is not a true object-oriented programming language, but object-oriented ideas can be learned from, and most of them can be implemented well, which is very advantageous in the design of large projects.