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 1w 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

29

—

LowBetter than 57% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

608d 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.0k28.5M262](/packages/laravel-octane)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[code16/sharp

Laravel Content Management Framework

79466.1k10](/packages/code16-sharp)[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)[wirechat/wirechat

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

57213.0k](/packages/wirechat-wirechat)[aerni/advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind

1818.9k](/packages/aerni-advanced-seo)

PHPackages © 2026

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