PHPackages                             iamserjo/php-gpt-context-generator - 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. iamserjo/php-gpt-context-generator

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

iamserjo/php-gpt-context-generator
==================================

Helps to create prompt context of your project according to chosen tables and files

0.0.5.4(1y ago)11.5kMITPHPPHP ^8.1 || ^8.2 || ^8.3 || ^8.4

Since Dec 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iamserjo/php-gpt-context-generator)[ Packagist](https://packagist.org/packages/iamserjo/php-gpt-context-generator)[ RSS](/packages/iamserjo-php-gpt-context-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

php-gpt-context-generator
=========================

[](#php-gpt-context-generator)

Create prompt context of your project according to chosen tables and files

Installation

### `composer require --dev iamserjo/php-gpt-context-generator`

[](#composer-require---dev-iamserjophp-gpt-context-generator)

Run

### `php artisan _dev:gpt-project-context-generator`

[](#php-artisan-_devgpt-project-context-generator)

### Short Documentation

[](#short-documentation)

1. This Laravel command generates a single prompt file with the selected database tables’ schema and chosen project files.
2. It helps provide GPT models with relevant context for coding tasks, speeding up development.
3. Installation is simple: run `composer require --dev iamserjo/php-gpt-context-generator`.
4. Use `php artisan _dev:gpt-project-context-generator` to launch the interactive console.
5. First, select an existing setup or create a new one.
6. Next, choose tables to include, then pick files by typing partial filenames.
7. The command creates a timestamped .txt file in storage/app/gpt-context-generator.
8. This file contains your database schema, file contents, and a brief prompt.
9. Reuse or edit previous setups by loading from history.
10. Leverage the generated context file as input to GPT tools for better code suggestions.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

562d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40b5d140750aa6d7867f9f476c3aae745552f386513f0e97ec84dfb8ff863edb?d=identicon)[iamserjo](/maintainers/iamserjo)

---

Top Contributors

[![SerhiiKotelnikov](https://avatars.githubusercontent.com/u/165281614?v=4)](https://github.com/SerhiiKotelnikov "SerhiiKotelnikov (11 commits)")[![iamserjo](https://avatars.githubusercontent.com/u/3052219?v=4)](https://github.com/iamserjo "iamserjo (1 commits)")

### Embed Badge

![Health badge](/badges/iamserjo-php-gpt-context-generator/health.svg)

```
[![Health](https://phpackages.com/badges/iamserjo-php-gpt-context-generator/health.svg)](https://phpackages.com/packages/iamserjo-php-gpt-context-generator)
```

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M223](/packages/laravel-octane)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[intrfce/laravel-frontend-enums

Stop using 'magic' strings/numbers in your frontend Javascript and use your actual application enums instead.

2327.7k](/packages/intrfce-laravel-frontend-enums)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2915.1k](/packages/aerni-livewire-forms)

PHPackages © 2026

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