PHPackages                             saassdk/gptsdk-php - 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. saassdk/gptsdk-php

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

saassdk/gptsdk-php
==================

0.1.2(10mo ago)465[5 PRs](https://github.com/saassdk/gptsdk-php/pulls)MITPHPPHP ^8.1CI passing

Since Jan 17Pushed 10mo ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (11)Used By (0)

[![GptSdk Logo](https://camo.githubusercontent.com/abe46faf972d215be30cfc3785c2540bc62ef74bbddd18ddd8f1ce808f3309d3/68747470733a2f2f6770742d73646b2e636f6d2f6c6f676f2e706e67)](https://camo.githubusercontent.com/abe46faf972d215be30cfc3785c2540bc62ef74bbddd18ddd8f1ce808f3309d3/68747470733a2f2f6770742d73646b2e636f6d2f6c6f676f2e706e67)

 [![Source Code](https://camo.githubusercontent.com/cacec672564fdec8df5faec8a08de36f23c4fcf5f39285f420c1e005166b8b79/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d7361617373646b2f67707473646b2d2d7068702d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/saassdk/gptsdk-php) [![Download Package](https://camo.githubusercontent.com/c2223aac292302b8118169e7f7e239a8eba78bcabbda1ce126b5206b2318c579/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361617373646b2f67707473646b2d7068702e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://packagist.org/packages/saassdk/gptsdk-php) [![PHP Programming Language](https://camo.githubusercontent.com/5025ac02cbe923571eabaa3e9140864ef33752fffd4a1dcfe515a6aea3b860db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7361617373646b2f67707473646b2d7068702e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d253233383839324246)](https://php.net) [![Read License](https://camo.githubusercontent.com/0d120fb10685ac9fab8ca0456265c4139072a0fa981c40ea83301659001606f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7361617373646b2f67707473646b2d7068702e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d6461726b6379616e)](https://github.com/saassdk/gptsdk-php/blob/main/LICENSE)

About
-----

[](#about)

GptSdk is a powerful library designed to simplify the way you execute and manage prompts dynamically. By integrating seamlessly with your version control system (VCS), GptSdk offers a streamlined workflow for creating, organizing, and running prompts. Whether you’re building AI-powered applications or optimizing your development process, GptSdk provides the tools you need to succeed.

#### How It Works:

[](#how-it-works)

- **Store Prompts in Your Repository**Prompts are managed as .prompt files within your VCS, ensuring they are versioned, trackable, and collaborative.
- **Dynamic Execution**The library retrieves and compiles .prompt files dynamically, allowing for real-time updates and zero-latency execution in your applications.
- **Flexible Integration**Easily integrate GptSdk with your AI workflows. The library supports multiple AI vendors, and its modular design lets you extend functionality as needed.

### Why Use GptSdk?

[](#why-use-gptsdk)

- **Centralized Prompt Management** Keep your prompts organized and versioned alongside your code.
- **Dynamic Workflow** Update and execute prompts instantly without delays.
- **Open-Source and Free** Use the library at no cost with the freedom to customize and extend it.

Get started with GptSdk and transform how you manage and execute prompts—dynamic, organized, and scalable.

This project adheres to a [code of conduct](CODE_OF_CONDUCT.md). By participating in this project and its community, you are expected to uphold this code.

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

[](#installation)

Install this package as a dependency using [Composer](https://getcomposer.org).

```
composer require saassdk/gptsdk-php
```

Usage
-----

[](#usage)

Add GptSdk to your project and initialize it:

```
