PHPackages                             jeremysalmon/laravel-llm-context - 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. jeremysalmon/laravel-llm-context

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

jeremysalmon/laravel-llm-context
================================

Generate LLM context from Laravel applications

1.0.6(1y ago)121MITPHPPHP ^7.4|^8.0|^8.1|^8.2

Since Nov 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jeremysalmon/LaravelLLMContext)[ Packagist](https://packagist.org/packages/jeremysalmon/laravel-llm-context)[ RSS](/packages/jeremysalmon-laravel-llm-context/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

README.md
=========

[](#readmemd)

Laravel LLM Context Generator
=============================

[](#laravel-llm-context-generator)

Generate comprehensive context about your Laravel application for LLM consumption.

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

[](#installation)

```
composer require your-username/laravel-llm-context
```

Usage
-----

[](#usage)

1. (Optional) Publish the configuration:

    ```
    php artisan vendor:publish --tag="llm-context-config"
    ```
2. Generate the context:

    ```
    php artisan llm:generate-context
    ```

This will create two files in your storage/app/llm-context directory:

- llm-context.json: Structured data about your application
- llm-context.txt: Human-readable format suitable for LLM consumption

Configuration
-------------

[](#configuration)

You can customize the behavior by modifying config/llm-context.php:

```
return [
    'output_path' => storage_path('app/llm-context'),
    'include' => [
        'migrations' => true,
        'models' => true,
        'relationships' => true,
    ],
    'model_path' => app_path('Models'),
];
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

3

Last Release

601d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2249236?v=4)[Jeremy Salmon](/maintainers/jeremysalmon)[@jeremysalmon](https://github.com/jeremysalmon)

---

Top Contributors

[![jeremysalmon](https://avatars.githubusercontent.com/u/2249236?v=4)](https://github.com/jeremysalmon "jeremysalmon (11 commits)")

### Embed Badge

![Health badge](/badges/jeremysalmon-laravel-llm-context/health.svg)

```
[![Health](https://phpackages.com/badges/jeremysalmon-laravel-llm-context/health.svg)](https://phpackages.com/packages/jeremysalmon-laravel-llm-context)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M203](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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