Skip to content

Repository files navigation

Fabric Pattern

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

usePhpLlm\FabricPattern\Pattern;
// Return markdown of pattern's system prompt$pattern = (newPattern)->load('extract_wisdom');

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

About

Slim PHP wrapper for Daniel Miessler's fabric pattern

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages