PHPackages                             chimit/prompt - 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. [Templating &amp; Views](/categories/templating)
4. /
5. chimit/prompt

ActiveLibrary[Templating &amp; Views](/categories/templating)

chimit/prompt
=============

Manage AI prompts in Blade style.

v1.1.0(3mo ago)416.6k—2.9%1MITPHP

Since Sep 28Pushed 3mo agoCompare

[ Source](https://github.com/chimit/prompt)[ Packagist](https://packagist.org/packages/chimit/prompt)[ RSS](/packages/chimit-prompt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Prompt
======

[](#prompt)

Prompt is a simple Laravel package for managing your AI prompts in Markdown files, with the full power of Blade.

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

[](#installation)

You can install the package via composer:

```
composer require chimit/prompt
```

Usage
-----

[](#usage)

### Create Your Prompts

[](#create-your-prompts)

Create your prompt files in the `resources/prompts` directory using the `.md` extension. You can organize them in subdirectories as needed:

```
resources/
└── prompts/
    ├── seo/
    │   └── product-meta.md
    └── welcome.md

```

### Use Blade Syntax in Your Prompts

[](#use-blade-syntax-in-your-prompts)

Your prompt files support full Blade syntax, including variables, PHP expressions, and unsafe HTML rendering. Here's an example `resources/prompts/seo/product-meta.md`:

```
You are an SEO expert specializing in e-commerce. Generate a compelling meta description for this product.

**Product:** {{ $product->name }}
**Price:** ${{ number_format($product->price, 2) }}

**Product Description:**
---
{!! $product->description !!}
---

@if($product->discount_percentage > 0)
**Special Offer:** {{ $product->discount_percentage }}% OFF - Limited Time!
@endif

Requirements:
- Maximum 160 characters
- Include the product name and key benefits
- Create urgency if there's a discount
- Target keywords: {{ implode(', ', $keywords) }}
```

### Render Your Prompts

[](#render-your-prompts)

Use the `Prompt::get()` method to render your prompts with data, just like you would with Blade views:

```
use Chimit\Prompt;

$prompt = Prompt::get('seo/product-meta', [
    'product' => $product,
    'keywords' => ['wireless headphones', 'bluetooth', 'noise cancelling']
]);
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance80

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 ~128 days

Total

2

Last Release

104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c866c49826daecd54f22d4e3b8fc5c819f4ac71a23c6b7239f6fb8ebf4c64407?d=identicon)[chimit](/maintainers/chimit)

---

Top Contributors

[![chimit](https://avatars.githubusercontent.com/u/839349?v=4)](https://github.com/chimit "chimit (2 commits)")

---

Tags

ailaravelprompt-engineeringlaravelaibladeprompts

### Embed Badge

![Health badge](/badges/chimit-prompt/health.svg)

```
[![Health](https://phpackages.com/badges/chimit-prompt/health.svg)](https://phpackages.com/packages/chimit-prompt)
```

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k34.2M309](/packages/blade-ui-kit-blade-icons)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k217.1k59](/packages/moonshine-moonshine)[area17/blast

Storybook for Laravel Blade

308664.1k](/packages/area17-blast)[radic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

271321.7k5](/packages/radic-blade-extensions)

PHPackages © 2026

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