{"id":15024813,"url":"https://github.com/sleekdb/sleekdb","last_synced_at":"2025-05-15T03:05:13.669Z","repository":{"id":31896524,"uuid":"129436009","full_name":"SleekDB/SleekDB","owner":"SleekDB","description":"Pure PHP NoSQL database with no dependency. Flat file, JSON based document database.","archived":false,"fork":false,"pushed_at":"2025-04-19T19:19:49.000Z","size":477,"stargazers_count":949,"open_issues_count":34,"forks_count":86,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-05-15T03:04:59.561Z","etag":null,"topics":["api","database","filestorage","flat-file","json","nosql","nosql-database","nosql-databases","php","php7","schema","storage","storage-engine"],"latest_commit_sha":null,"homepage":"https://sleekdb.github.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SleekDB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["sleekdb"]}},"created_at":"2018-04-13T17:50:14.000Z","updated_at":"2025-05-14T16:41:00.000Z","dependencies_parsed_at":"2024-01-13T19:20:25.546Z","dependency_job_id":"838c91fa-4d0b-4b66-9fc7-c0500a8fad46","html_url":"https://github.com/SleekDB/SleekDB","commit_stats":{"total_commits":292,"total_committers":7,"mean_commits":"41.714285714285715","dds":0.5034246575342466,"last_synced_commit":"957468be56bfc5d23f8f5fa7438e90ede17f9d05"},"previous_names":["sleekdb/sleekdb","rakibtg/sleekdb"],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleekDB%2FSleekDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleekDB%2FSleekDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleekDB%2FSleekDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleekDB%2FSleekDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SleekDB","download_url":"https://codeload.github.com/SleekDB/SleekDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264765,"owners_count":22041793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","database","filestorage","flat-file","json","nosql","nosql-database","nosql-databases","php","php7","schema","storage","storage-engine"],"created_at":"2024-09-24T20:01:00.384Z","updated_at":"2025-05-15T03:05:13.636Z","avatar_url":"https://github.com/SleekDB.png","language":"PHP","funding_links":["https://github.com/sponsors/sleekdb"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePlease give it a Star if you like the project 🎉 \u003cimg width=\"100\" src=\"https://i.imgur.com/YaY5arh.gif\"\u003e ❤️\u003ch1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://sleekdb.github.io/\"\u003e\u003cimg src=\"https://sleekdb.github.io/assets/SleekDB-Logo.jpg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# SleekDB - A NoSQL Database made using PHP\n\n## Full documentation: https://sleekdb.github.io/\n\nSleekDB is a simple flat file NoSQL like database implemented in PHP without any third-party dependencies that store data in plain JSON files.\n\nIt 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.\n\n## Features\n\n- ⚡ **Lightweight, faster**\n\n  Stores data in plain-text utilizing JSON format, no binary conversion needed to store or fetch the data. Default query cache layer.\n\n- 🔆 **Schema free data storage**\n\n  SleekDB does not require any schema, so you can insert any types of data you want.\n\n- 🔍 **Query on nested properties**\n\n  It supports schema free data, so you can filter and use conditions on nested properties of the JSON documents!\n\n  ```php\n  where( 'post.author.role', '=', 'admin' )\n  ```\n\n  SleekDB will look for data at:\n\n  ```php\n  {\n    \"post\": {\n      \"author\": {\n        \"role\": \"admin\"\n      }\n    }\n  }\n  ```\n\n- ✨ **Dependency free, only needs PHP to run**\n\n  Supports PHP 7+. Requires no third-party plugins or software.\n\n- 🚀 **Default caching layer**\n\n  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.\n\n- 🌈 **Rich Conditions and Filters**\n\n  Use multiple conditional comparisons, text search, sorting on multiple properties and nested properties. Some useful methods are:\n\n  \u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd valign=\"top\"\u003e\n        \u003cul\u003e\n          \u003cli\u003ewhere\u003c/li\u003e\n          \u003cli\u003eorWhere\u003c/li\u003e\n          \u003cli\u003eselect\u003c/li\u003e\n          \u003cli\u003eexcept\u003c/li\u003e\n          \u003cli\u003ein\u003c/li\u003e\n          \u003cli\u003enot in\u003c/li\u003e\n        \u003c/ul\u003e\n      \u003c/td\u003e\n      \u003ctd valign=\"top\"\u003e\n        \u003cul\u003e\n          \u003cli\u003ejoin\u003c/li\u003e\n          \u003cli\u003elike\u003c/li\u003e\n          \u003cli\u003esort\u003c/li\u003e\n          \u003cli\u003eskip\u003c/li\u003e\n          \u003cli\u003eorderBy\u003c/li\u003e\n          \u003cli\u003eupdate\u003c/li\u003e\n        \u003c/ul\u003e\n      \u003c/td\u003e\n      \u003ctd valign=\"top\"\u003e\n        \u003cul\u003e\n          \u003cli\u003elimit\u003c/li\u003e\n          \u003cli\u003esearch\u003c/li\u003e\n          \u003cli\u003edistinct\u003c/li\u003e\n          \u003cli\u003eexists\u003c/li\u003e\n          \u003cli\u003efirst\u003c/li\u003e\n          \u003cli\u003edelete\u003c/li\u003e\n        \u003c/ul\u003e\n      \u003c/td\u003e\n      \u003ctd valign=\"top\"\u003e\n        \u003cul\u003e\n          \u003cli\u003elike\u003c/li\u003e\n          \u003cli\u003enot lik\u003c/li\u003e\n          \u003cli\u003ebetween\u003c/li\u003e\n          \u003cli\u003enot between\u003c/li\u003e\n          \u003cli\u003egroup by\u003c/li\u003e\n          \u003cli\u003ehaving\u003c/li\u003e\n        \u003c/ul\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n  \u003c/table\u003e\n\n- 👍 **Process data on demand**\n  \n  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.\n\n- 😍 **Runs everywhere**\n  \n  Runs perfectly on shared-servers or VPS too.\n\n\n- 🍰 **Easy to learn and implement**\n\n  SleekDB provides a very simple elegant API to handle all of your data.\n\n- 🍰 **Easily import/export or backup data**\n  \n  SleekDB use files to store information. That makes tasks like backup, import and export very easy.\n\n- 💪 **Actively maintained**\n\n  \u003cp\u003eSleekDB is created by \u003ca rel=\"noopener nofollow\" href=\"https://twitter.com/rakibtg\" target=\"_blank\"\u003e@rakibtg\u003c/a\u003e who is using it in various types of applications which are in production right now. Our other contributor and active maintainer is \u003ca rel=\"noopener nofollow\" href=\"https://www.goodsoft.de\" target=\"_blank\"\u003eTimucin\u003c/a\u003e who is making SleekDB much better in terms of code quality and new features.\u003c/p\u003e\n\n- 📔 **Well documented**\n  \n  The \u003ca href=\"https://sleekdb.github.io/\"\u003eofficial documentation of SleekDB\u003c/a\u003e does not just provide a good api documentation. It is filled with examples!\n\n\u003ch2 align=\"center\"\u003eVisit our website https://sleekdb.github.io/ for documentation and getting started guide.\u003c/h2\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleekdb%2Fsleekdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleekdb%2Fsleekdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleekdb%2Fsleekdb/lists"}