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 1mo ago

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

29

—

LowBetter than 60% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0044b27b990e39f7e062f1399de8f23ff0137837090fa3aee27a78ab8e159ed?d=identicon)[jeremysalmon](/maintainers/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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[tehwave/laravel-achievements

Simple, elegant Achievements the Laravel way

7012.8k](/packages/tehwave-laravel-achievements)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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