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

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

30

—

LowBetter than 64% of packages

Maintenance40

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

508d 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

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[mrmarchone/laravel-auto-crud

Laravel Auto CRUD helps you streamline development and save time.

28711.8k2](/packages/mrmarchone-laravel-auto-crud)[intrfce/laravel-frontend-enums

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

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

A Statamic forms framework powered by Laravel Livewire

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

PHPackages © 2026

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