php-llm/fabric-pattern

Slim PHP wrapper for Daniel Miessler's fabric pattern

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 31

pkg:composer/php-llm/fabric-pattern


README

Slim PHP wrapper for Daniel Miessler's fabric pattern library.

Installation

Use Composer to install the package:

composer require php-llm/fabric-pattern

On top to the PHP wrapper library this also downloads the Python repository into vendor/danielmiessler/fabric.

Usage

use PhpLlm\FabricPattern\Pattern;

// Return markdown of pattern's system prompt
$pattern = (new Pattern)->load('extract_wisdom');

You can find the list of available patterns directly in fabric's repository.