PHPackages                             lenorix/laravel-ai-memory - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lenorix/laravel-ai-memory

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lenorix/laravel-ai-memory
=========================

Add memory feature to AI apps

v0.3.3(12mo ago)08[4 PRs](https://github.com/lenorix/laravel-ai-memory/pulls)MITPHPPHP ^8.3||^8.4CI passing

Since May 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/lenorix/laravel-ai-memory)[ Packagist](https://packagist.org/packages/lenorix/laravel-ai-memory)[ Docs](https://github.com/lenorix/laravel-ai-memory)[ GitHub Sponsors](https://github.com/lenorix)[ RSS](/packages/lenorix-laravel-ai-memory/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (12)Used By (0)

Add memory feature to AI apps
=============================

[](#add-memory-feature-to-ai-apps)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bab1a616ecf0cac7e66aaa701a1623d9599a4cac9fdd7656cdc996525afcf87c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656e6f7269782f6c61726176656c2d61692d6d656d6f72792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lenorix/laravel-ai-memory)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bd70ed4da08b2a140cad603bf42d507c456d670b21121079451f48fde8ee985e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656e6f7269782f6c61726176656c2d61692d6d656d6f72792f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/lenorix/laravel-ai-memory/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/f60febb0e4c09f84e92e50a2cd989408fa4474610f75450cc17cfceaab8cb450/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656e6f7269782f6c61726176656c2d61692d6d656d6f72792f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/lenorix/laravel-ai-memory/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/5527ba17852fef11078930c94a5ebd21634aef8ef0f2aac10e90d381828516a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656e6f7269782f6c61726176656c2d61692d6d656d6f72792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lenorix/laravel-ai-memory)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/be9f97307595c25b4b3b8e658b13d6b9b4768d196bf2ab7f86c7a17ed99bd1fa/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d61692d6d656d6f72792e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-ai-memory)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lenorix/laravel-ai-memory
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="ai-memory-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ai-memory-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="ai-memory-views"
```

Usage
-----

[](#usage)

```
$aiMemory = new Lenorix\AiMemory();
echo $aiMemory->echoPhrase('Hello, Lenorix!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jesus Hernandez](https://github.com/jhg)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance73

Regular maintenance activity

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

360d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/487ac224aa3cc183acf32af3eed52e49ca14a903e9ee676418195170b6beb920?d=identicon)[lenorix](/maintainers/lenorix)

---

Top Contributors

[![jhg](https://avatars.githubusercontent.com/u/1288711?v=4)](https://github.com/jhg "jhg (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravellenorixai-memory

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/lenorix-laravel-ai-memory/health.svg)

```
[![Health](https://phpackages.com/badges/lenorix-laravel-ai-memory/health.svg)](https://phpackages.com/packages/lenorix-laravel-ai-memory)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
