php for ai is honestly a pain compared to python’s ecosystem. I tried making it work but gave up - now I use php for frontend/api and python microservices for ai processing. much easier than dealing with php’s limited ai libraries. why not go hybrid instead of forcing everything into php?