PHPackages                             ruelluna/zep-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. [API Development](/categories/api)
4. /
5. ruelluna/zep-php

ActiveLibrary[API Development](/categories/api)

ruelluna/zep-php
================

PHP Wrapper for Zep REST API

1.0.3(2y ago)06MITPHP

Since Apr 3Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Zep PHP SDK (unofficial)
========================

[](#zep-php-sdk-unofficial)

READ THIS FIRST
---------------

[](#read-this-first)

We just use this package to get messages from Zep Open Source and display them in our own dashboard. **There is no PATCH and DELETE endpoints in this package**. We just use GET endpoints.

This is an unofficial PHP SDK for the Zep API. This package is not affiliated with Zep in any way.

Description
-----------

[](#description)

A PHP wrapper for Zep REST API, providing a convenient interface for interacting with Zep API endpoints. This package simplifies the process of making HTTP requests to the Zep API and handling responses.

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

[](#installation)

Install the package via Composer:

```
composer require ruelluna/zep-php
```

Configuration
-------------

[](#configuration)

Before using the Zep PHP SDK, you must set up the required environment variables. Define **ZEP\_API\_KEY** and **ZEP\_BASE\_URL** in your project's environment file:

```
ZEP_API_KEY=
ZEP_BASE_URL=
```

Usage
-----

[](#usage)

To use the SDK, first create an instance of the **Session** class. This will automatically initialize the ZepApiClient with your API key and base URL.

```
use RuelLuna\ZepPhp\Session;
use RuelLuna\ZepPhp\Message;

// get all sessions
$sessions = Session::getAll();

// get a single session
$session = Session::getSession([session-id]);

// get all messages within a session
$messages = Message::getAll([session-id]);

// get message from a session
$messages = Message::getMessage([session-id], [message-id]);
```

Or Create instances passing API key and base URL
------------------------------------------------

[](#or-create-instances-passing-api-key-and-base-url)

```
$sessionRequest = \RuelLuna\ZepPhp\Session::make('your-api-key', 'your-base-url');

return $sessionRequest->getAll();
```

Contributing
------------

[](#contributing)

We welcome contributions from the community. If you wish to contribute, please submit a pull request.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

Total

4

Last Release

774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f36b7ca408511a362849c31ab6b1f2da4c609373dd827edf33d612e28764be9?d=identicon)[ruelluna](/maintainers/ruelluna)

---

Top Contributors

[![ruelluna](https://avatars.githubusercontent.com/u/982036?v=4)](https://github.com/ruelluna "ruelluna (5 commits)")

### Embed Badge

![Health badge](/badges/ruelluna-zep-php/health.svg)

```
[![Health](https://phpackages.com/badges/ruelluna-zep-php/health.svg)](https://phpackages.com/packages/ruelluna-zep-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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