https://github.com/thojou/php-llm-documents
PHP LLM Documents is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem.
https://github.com/thojou/php-llm-documents
Last synced: 19 days ago
JSON representation
PHP LLM Documents is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem.
- Host: GitHub
- URL: https://github.com/thojou/php-llm-documents
- Owner: thojou
- License: mit
- Created: 2023-10-04T14:22:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T08:17:54.000Z (over 2 years ago)
- Last Synced: 2025-06-17T13:53:45.372Z (8 months ago)
- Language: PHP
- Size: 115 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-php-ml - thojou/php-llm-documents - based document processing (splitting, embeddings, vector store, search) inspired by LangChain/DocTran (LLMs & AI APIs / Recommended core stack)
- awesome-php-ai - **php-llm-documents** - PHP LLM Documents is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem. (Libraries / Natural Language Processing)
README
# PHP LLM Documents

[](https://github.com/thojou/php-llm-documents/actions/workflows/ci.yml)

[](LICENSE)
**PHP LLM Documents** is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem.
It incorporates various features inspired by popular Python libraries such as [langchain](https://python.langchain.com/docs/get_started/introduction) and [doctran](https://github.com/psychic-api/doctran).
This library offers capabilities for web search, web scraping, document transformation, text splitting, embeddings, vector storage and retrieval.
## Requirements
* PHP version >= 8.1
## Installation
You can effortlessly install the **PHP LLM Documents** using the popular package manager [composer](https://getcomposer.org/).
> This project is currently under development. If installing with composer, please make sure to accept a minimum stability of `dev` in your `composer.json` file.
```bash
composer require thojou/llm-documents:dev-master
```
## Usage
For more practical examples, please refer to the [examples](examples) folder.
## Documentation
> Coming Soon
## License
This project is licensed under the generous and permissive [MIT license](LICENSE).