Hey devs,
I wanted to share an open-source project I published recently. Simple lightweight PHP library for interacting with common AI models, that provides universal interface.
It’s designed for anyone seeking a lightweight library to connect with AI models - not heavy frameworks and packages with numerous dependencies.
Multimodel support. Unified API for all models.
Tools support & agentic - autoresolve tool calls with callbacks.
Extendable - easy to add your own models and tools.
No dependencies, just native PHP. cURL required.
No composer required! But composer compatible.
Hope you find it useful! Would love to hear your thoughts and feedback!
Available at GitHub: https://github.com/skito/aipi-php