{"id":17536480,"url":"https://github.com/kambo-1st/langchain-php","last_synced_at":"2025-04-04T22:05:18.727Z","repository":{"id":149989635,"uuid":"622564306","full_name":"kambo-1st/langchain-php","owner":"kambo-1st","description":"⚡ Building applications with LLMs through composability in PHP ⚡","archived":false,"fork":false,"pushed_at":"2023-06-20T07:02:33.000Z","size":97,"stargazers_count":270,"open_issues_count":8,"forks_count":32,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-10-24T19:41:40.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kambo-1st.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kambo"}},"created_at":"2023-04-02T13:45:41.000Z","updated_at":"2024-10-23T23:41:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca107069-4062-453b-a1ea-14183671eeda","html_url":"https://github.com/kambo-1st/langchain-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kambo-1st%2Flangchain-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kambo-1st%2Flangchain-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kambo-1st%2Flangchain-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kambo-1st%2Flangchain-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kambo-1st","download_url":"https://codeload.github.com/kambo-1st/langchain-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256110,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-20T20:00:52.496Z","updated_at":"2025-04-04T22:05:18.704Z","avatar_url":"https://github.com/kambo-1st.png","language":"PHP","funding_links":["https://github.com/sponsors/kambo"],"categories":["LLMs \u0026 AI APIs","PHP","LLM Frameworks"],"sub_categories":["Recommended core stack"],"readme":"# 🐘🦜️🔗 PHP LangChain\n\n⚡ Building applications with LLMs through composability in PHP ⚡\n\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/kambo/langchain.svg?style=flat-square)](https://packagist.org/packages/kambo/langchain)\n[![Tests](https://img.shields.io/github/actions/workflow/status/kambo-1st/langchain-php/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/kambo-1st/langchain-php/actions/workflows/run-tests.yml)\n[![Total Downloads](https://img.shields.io/packagist/dt/kambo/langchain.svg?style=flat-square)](https://packagist.org/packages/kambo/langchain)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n\nThe LangChain PHP Port is a meticulously crafted adaptation of the original [LangChain library](https://github.com/hwchase17/langchain), bringing its robust natural language processing capabilities to the PHP ecosystem. \nThis faithful port allows developers to harness the full potential of LangChain's features, while preserving the familiar PHP syntax and structure.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require kambo/langchain\n```\n\n## 🤔 What is this?\n\nLarge language models (LLMs) are emerging as a transformative technology, enabling\ndevelopers to build applications that they previously could not.\nBut using these LLMs in isolation is often not enough to\ncreate a truly powerful app - the real power comes when you can combine them with other sources of computation or knowledge.\n\nThis library is aimed at assisting in the development of those types of applications. Common examples of these types of applications include:\n\n## Work in progress\n\nThis library is still in development. Use at your own risk!\n\n### Supported features\n\n* Prompt formatting\n* LLMs: OpenAI GPT-3, ChatGPT, llama.cpp\n* Vector stores: Simple stupid vector store\n* Texts splitters: CharacterTextSplitter, RecursiveCharacterTextSplitter\n* Embeddings: OpenAI\n* Document loaders: TextLoader\n\nMore to come!\n\n### Documentation\n\n* [PHP specific](docs/PHP/TOC.md)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkambo-1st%2Flangchain-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkambo-1st%2Flangchain-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkambo-1st%2Flangchain-php/lists"}