PHPackages                             sabatinomasala/laravel-llm-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sabatinomasala/laravel-llm-prompt

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

sabatinomasala/laravel-llm-prompt
=================================

LLM prompt helper for Laravel

v1.0.0(1y ago)5737MITPHPPHP ^8.2

Since Aug 13Pushed 1y ago2 watchersCompare

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

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

LLM helper classes for Laravel
==============================

[](#llm-helper-classes-for-laravel)

This repository allows you to manage prompts for LLM's with ease.

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

[](#installation)

```
composer require sabatinomasala/laravel-llm-prompt

```

The package will be automatically discovered.

Commands
--------

[](#commands)

The package allows you to create prompts using the following command:

```
php artisan make:prompt Example

```

The prompt will be added to the `app/Prompts/` directory.

Usage
-----

[](#usage)

Working with large prompts can be a challenge, especially when dealing with many variables. The Example prompt created above looks a little something like this:

```
