PHPackages                             seba/pantry - 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. [Database &amp; ORM](/categories/database)
4. /
5. seba/pantry

ActiveLibrary[Database &amp; ORM](/categories/database)

seba/pantry
===========

SDK for getpantry.cloud

v2.0.3(6mo ago)592[1 issues](https://github.com/SebaOfficial/pantry-cloud/issues)MITPHPPHP ^8.2CI passing

Since Aug 29Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/SebaOfficial/pantry-cloud)[ Packagist](https://packagist.org/packages/seba/pantry)[ Docs](https://github.com/SebaOfficial/pantry-cloud)[ Fund](https://www.buymeacoffee.com/sebadev)[ Fund](https://racca.me/donate)[ RSS](/packages/seba-pantry/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

🍊 Pantry-Cloud
==============

[](#-pantry-cloud)

Easy to use library for interacting with the [pantrycloud](https://getpantry.cloud) API.

🛠 Instalation
-------------

[](#-instalation)

You can install the package via composer:

```
composer require seba/pantry
```

❔ Usage
-------

[](#-usage)

```
$pantry = new new \Pantry\Client("YOUR_PANTRY_ID");
```

### Create a Basket

[](#create-a-basket)

```
$basket = $pantry->createBasket("ILoveThisBasket", [
    "key" => "value"
]);
```

### Get a Basket

[](#get-a-basket)

There are several ways to get a basket

```
$basket = $pantry->getBasket("ILoveThisBasket"); // Get the basket instance
echo $basket; // The basket data as a json string
var_dump($basket); // The basket data as an object
$basketData = $basket(); // The basket data as an object
$basketData = $basket->get(); // The basket data as an object
```

### Update a Basket

[](#update-a-basket)

```
$basket->update([
    "newKey" => "newValue"
]);
```

### Delete a Basket

[](#delete-a-basket)

```
$basket->delete();
```

### Get Pantry information

[](#get-pantry-information)

There are several ways to get information about the pantry

```
echo $pantry; // The pantry data as a json string
var_dump($pantry); // The pantry data as an object
$pantryData = $pantry(); // The pantry data as an object
$pantryData = $pantry->getData(); // The pantry data as an object
```

⚖️ License
----------

[](#️-license)

This project is under the [MIT License](https://github.com/SebaOfficial/pantry-cloud/blob/main/LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance65

Regular maintenance activity

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~202 days

Total

5

Last Release

181d ago

Major Versions

v1.0.0 → v2.0.02024-08-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/35b5fbedefc623a3297b653fafa5137440f81ece4b87732f3bbcdff8d3f48bfa?d=identicon)[SebaOfficial](/maintainers/SebaOfficial)

---

Top Contributors

[![SebaOfficial](https://avatars.githubusercontent.com/u/115643607?v=4)](https://github.com/SebaOfficial "SebaOfficial (15 commits)")[![CreeperPookie](https://avatars.githubusercontent.com/u/61175748?v=4)](https://github.com/CreeperPookie "CreeperPookie (1 commits)")

---

Tags

databaselibrarypantryphpjsondatabaselibrarydbpantrypantry-cloud

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/seba-pantry/health.svg)

```
[![Health](https://phpackages.com/badges/seba-pantry/health.svg)](https://phpackages.com/packages/seba-pantry)
```

###  Alternatives

[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

64401.8k10](/packages/rah-danpu)[greg0/lazer-database

PHP library to use JSON files like flat-file database

28816.5k4](/packages/greg0-lazer-database)[arcanedev/laravel-settings

This package allows you to persists configs/settings for Laravel projects.

74131.4k6](/packages/arcanedev-laravel-settings)[stefangabos/zebra_database

An advanced, compact and lightweight MySQL database wrapper library, built around PHP's MySQLi extension.

11812.0k](/packages/stefangabos-zebra-database)[alvin0/database-json-laravel

Create and manage json databases with Laravel

344.3k](/packages/alvin0-database-json-laravel)[soosyze/queryflatfile

The Queryflatfile is PHP library for simple database not SQL

181.0k1](/packages/soosyze-queryflatfile)

PHPackages © 2026

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