Download the PHP package smart-memory/laravel-smart-thread-memory without Composer

On this page you can find all versions of the php package smart-memory/laravel-smart-thread-memory. 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 laravel-smart-thread-memory

Laravel Smart Thread Memory

Give your Laravel AI app a memory that survives the next chat window.

Baca dalam Bahasa Indonesia

Laravel Smart Thread Memory is a package for storing conversation memory, finding related threads, and pulling useful context back into your prompts. It is built for AI products where users jump between chats, projects, tickets, tasks, and decisions, but still expect the assistant to remember what came before.

It does not blindly merge conversations. It suggests related threads, shows confidence, and lets your app decide what happens next.

Why This Exists

Most AI chat apps treat every new conversation like a fresh start.

That works until a user says:

"Let's continue the Stripe invoice sync thing from last week."

The app may have the answer somewhere, but the assistant does not know where to look. Laravel Smart Thread Memory gives your app a semantic memory layer so old decisions, facts, todos, and technical notes can be found again when they matter.

Why Laravel

Laravel teams are already building AI copilots, support agents, internal tools, CRM assistants, coding assistants, and workflow automation. The missing piece is often not the chat box. It is memory that fits normal Laravel applications:

This package aims to be that memory layer: boring enough for Laravel apps, semantic enough for AI products.

What It Does

What It Does Not Do

Current Status

Early MVP. The foundation is in place:

The shape is here. The edges are still being sharpened.

Installation

Quick Start

Record a thread, store a message, and save a decision as memory:

Later, when the user starts a new chat:

Before sending a prompt to your AI provider:

Memory Types

The MVP focuses on a small set of memory types that are useful in real products:

These are intentionally boring. Boring memory types are easier to query, rank, review, and trust.

Suggested Threads, Not Forced Merges

The package is designed around suggestions:

Your app can then decide whether to:

The package gives you candidates and confidence. Product behavior stays yours.

PostgreSQL + pgvector

PostgreSQL with pgvector is the primary target for semantic search.

Enable pgvector before running the migrations:

Then configure:

For local development or unsupported databases:

The fallback driver is useful for development and tests. It is not meant to compete with real vector search.

Embeddings

OpenAI is the default provider, but the package uses a provider contract so you can swap it later:

Default OpenAI config:

Testing

Roadmap

Near-term:

Later:

Documentation

Start with:

Name

The package name is Laravel Smart Thread Memory. The idea behind it is simple: memory that helps an AI app notice when a new conversation belongs near an old one.

The name can still change. The problem is real either way.


All versions of laravel-smart-thread-memory with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.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 smart-memory/laravel-smart-thread-memory contains the following files

Loading the files please wait ...