Overview of NLP Libraries in PHP

OpenAI PHP Extension

The OpenAI PHP extension allows PHP developers to interact with the OpenAI API in a more seamless way. Below is an example of how it could be used to generate text with GPT-3:

Official website: https://openai-php.com

DeepL-php (PHP client library for the DeepL API).

The DeepL API is a language translation API that allows other computer programs to send texts and documents to DeepL's servers and receive high-quality translations. This opens a whole universe of opportunities for developers: any translation product you can imagine can now be built on top of DeepL's best-in-class translation technology.

Official website: https://github.com/DeepLcom/deepl-php

LLPhant

https://github.com/theodo-group/LLPhant

TransformersPHP

State-of-the-art Machine Learning for PHP. Run Transformers natively in your PHP projects

Official website: https://codewithkyrian.github.io/transformers-php/

Last updated