Download the PHP package subhashladumor1/larachain without Composer

On this page you can find all versions of the php package subhashladumor1/larachain. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package larachain

🏗️ LaraChain (Beta Version)

Latest Version on Packagist GitHub Tests Action Status

LaraChain is a LangChain-inspired AI orchestration framework built specifically for Laravel 12. In 2026, building AI apps is no longer just about calling an API—it's about building Stateful Workflows, Agentic Tools, and Modern RAG pipelines. LaraChain provides the primitives to build these with professional-grade elegance and type safety.


🗺️ How LaraChain Works

LaraChain follows a "Runnable" architecture where every component—prompts, models, retrievers, and parsers—can be piped together.


🚀 Key Features

Feature Description
LCEL-style Piping Use the .pipe() pattern to chain components like a pro.
Smart Agents ReAct (Reasoning + Acting) agents that use tools and make decisions.
Advanced RAG Document loaders, recursive text splitting, and vector retrieval.
Postgres Support Native pgvector integration for production-ready storage.
Memory Drivers Stateful conversation buffers to maintain context.
Laravel 12 Native Deeply integrated with the Laravel AI SDK and Service Container.

📂 Folder Structure


📖 Functional API Guide

1. The Pipe Pattern (Recommended)

The hallmark of LaraChain 2026 is the ability to chain components elegantly.

2. Intelligent Agents

An agent can use specialized tools to complete complex tasks.

3. RAG (Postgres + Recursive Chunking)

Handle large documents with state-of-the-art chunking and production storage.


⚖️ LaraChain vs. LangChain (For Laravel)

Feature LangChain (Python/JS) LaraChain (PHP/Laravel)
Syntax Pipe Operator (\|) Fluent .pipe() Method
Integration Ad-hoc Native Service Providers / Facades
I/O General Laravel FileSystem / DB Facades
Agents LangGraph ReAct / Future LaraGraph
Models Custom Drivers Laravel AI SDK (Native)

📈 Use Cases

  1. Semantic Document Search: Build a "Chat with your PDF" app in minutes using RecursiveSplitter and PostgresVectorStore.
  2. Autonomous Code Auditor: Use the FileToolkit and AgentExecutor to scan your repository for security flaws.
  3. Structured Data Extraction: Pipe raw OCR text through a ChatModel and JsonParser to ingest invoices into your database.

🛠️ Installation & Setup

Refer to LARACHAIN_VERIFICATION_2026.md for detailed verification of all 2026 market features.


🛠️ Multi-Provider Management

LaraChain uses a Driver-based Architecture (similar to Laravel's Database or Mail systems). You can configure and switch between providers at runtime.

1. Configuration (config/larachain.php)

Define multiple LLM, Vector, and Embedding providers:

2. Switching Providers at Runtime

Use the LaraChain facade to swap drivers dynamically:


⚙️ Configuration

Contributions are welcome! Pull requests for new Vector Drivers (Pinecone, Qdrant) are prioritized.

📄 License

The MIT License (MIT). See License File.


All versions of larachain with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^11.20|^12.0
illuminate/contracts Version ^11.20|^12.0
laravel/ai Version ^0.1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package subhashladumor1/larachain contains the following files

Loading the files please wait ...