PHPackages                             pooshgan/sleekdb - 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. [Framework](/categories/framework)
4. /
5. pooshgan/sleekdb

ActiveLibrary[Framework](/categories/framework)

pooshgan/sleekdb
================

SleekDB - A 30Kb NoSQL Database made using PHP

2.15(1y ago)04MITPHPPHP &gt;=7.0

Since Dec 7Pushed 1y agoCompare

[ Source](https://github.com/pooshgan/SleekDB)[ Packagist](https://packagist.org/packages/pooshgan/sleekdb)[ GitHub Sponsors](https://github.com/sleekdb)[ RSS](/packages/pooshgan-sleekdb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Please give it a Star if you like the project 🎉 [![](https://camo.githubusercontent.com/d441c402983a6e26b17c028b957579da0c72591a17b0f16b2ad0b254bbb612e4/68747470733a2f2f692e696d6775722e636f6d2f596159356172682e676966)](https://camo.githubusercontent.com/d441c402983a6e26b17c028b957579da0c72591a17b0f16b2ad0b254bbb612e4/68747470733a2f2f692e696d6775722e636f6d2f596159356172682e676966) ❤️
================================================================================================================================================================================================================================================================================================================================================================================================

[](#please-give-it-a-star-if-you-like-the-project---️)

[![](https://camo.githubusercontent.com/9e76fad6322cd76c1385cf3c2a265e2c43fa75350ae1d69965a31425f8374612/68747470733a2f2f736c65656b64622e6769746875622e696f2f6173736574732f536c65656b44422d4c6f676f2e6a7067)](https://sleekdb.github.io/)

[](#)

SleekDB - A NoSQL Database made using PHP
=========================================

[](#sleekdb---a-nosql-database-made-using-php)

Full documentation:
------------------------------------------------

[](#full-documentation-httpssleekdbgithubio)

SleekDB is a simple flat file NoSQL like database implemented in PHP without any third-party dependencies that store data in plain JSON files.

It is not designed to handle heavy-load IO operations, it is designed to have a simple solution where all we need a database for managing a few gigabytes of data. You can think of it as a database for low to medium operation loads.

Features
--------

[](#features)

- ⚡ **Lightweight, faster**

    Stores data in plain-text utilizing JSON format, no binary conversion needed to store or fetch the data. Default query cache layer.
- 🔆 **Schema free data storage**

    SleekDB does not require any schema, so you can insert any types of data you want.
- 🔍 **Query on nested properties**

    It supports schema free data, so you can filter and use conditions on nested properties of the JSON documents!

    ```
    where( 'post.author.role', '=', 'admin' )
    ```

    SleekDB will look for data at:

    ```
    {
      "post": {
        "author": {
          "role": "admin"
        }
      }
    }
    ```
- ✨ **Dependency free, only needs PHP to run**

    Supports PHP 7+. Requires no third-party plugins or software.
- 🚀 **Default caching layer**

    SleekDB will serve data from cache by default and regenerate cache automatically! Query results will be cached and later reused from a single file instead of traversing all the available files.
- 🌈 **Rich Conditions and Filters**

    Use multiple conditional comparisons, text search, sorting on multiple properties and nested properties. Some useful methods are:

    - where
    - orWhere
    - select
    - except
    - in
    - not in

    - join
    - like
    - sort
    - skip
    - orderBy
    - update

    - limit
    - search
    - distinct
    - exists
    - first
    - delete

    - like
    - not lik
    - between
    - not between
    - group by
    - having
- 👍 **Process data on demand**

    SleekDB does not require any background process or network protocol in order to process data when you use it in a PHP project. All data for a query will be fetched at runtime within the same PHP process.
- 😍 **Runs everywhere**

    Runs perfectly on shared-servers or VPS too.
- 🍰 **Easy to learn and implement**

    SleekDB provides a very simple elegant API to handle all of your data.
- 🍰 **Easily import/export or backup data**

    SleekDB use files to store information. That makes tasks like backup, import and export very easy.
- 💪 **Actively maintained**

    SleekDB is created by [@rakibtg](https://twitter.com/rakibtg) who is using it in various types of applications which are in production right now. Our other contributor and active maintainer is [Timucin](https://www.goodsoft.de) who is making SleekDB much better in terms of code quality and new features.
- 📔 **Well documented**

    The [official documentation of SleekDB](https://sleekdb.github.io/) does not just provide a good api documentation. It is filled with examples!

Visit our website  for documentation and getting started guide.
-------------------------------------------------------------------------------------------

[](#visit-our-website-httpssleekdbgithubio-for-documentation-and-getting-started-guide)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.7% 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

Unknown

Total

1

Last Release

527d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6f7a687dfe4966c6fa3eea22528db61dfaa7ae84eb4c0dd732dd53e10b9cf96?d=identicon)[pooshgan](/maintainers/pooshgan)

---

Top Contributors

[![Timu57](https://avatars.githubusercontent.com/u/28825283?v=4)](https://github.com/Timu57 "Timu57 (205 commits)")[![rakibtg](https://avatars.githubusercontent.com/u/5412730?v=4)](https://github.com/rakibtg "rakibtg (171 commits)")[![daussho](https://avatars.githubusercontent.com/u/26741197?v=4)](https://github.com/daussho "daussho (2 commits)")[![Jakiboy](https://avatars.githubusercontent.com/u/7604550?v=4)](https://github.com/Jakiboy "Jakiboy (2 commits)")[![pooshgan](https://avatars.githubusercontent.com/u/30390886?v=4)](https://github.com/pooshgan "pooshgan (2 commits)")

---

Tags

phpapiframeworkrestmicrodatabasenosqlflatfileSleekDB

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pooshgan-sleekdb/health.svg)

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

###  Alternatives

[rakibtg/sleekdb

SleekDB - A NoSQL Database made using PHP

984116.7k19](/packages/rakibtg-sleekdb)[phprest/phprest

PHP Rest Framework.

3049.3k](/packages/phprest-phprest)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

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