{"repo":"orhanayd/noneDB","free":true,"listed":false,"github":"https://github.com/orhanayd/noneDB","clone":"git clone https://github.com/orhanayd/noneDB.git","description":"noneDB is a lightweight, zero-dependency, file-based NoSQL database for PHP. It offers O(1) key lookups, MongoDB-style queries, R-tree spatial indexing, auto-sharding, atomic locking, and a fluent API—no server or setup required.","language":"PHP","stars":33,"topics":["database","php","php7","json","array","db","nosql","nosql-database","mysql","nonedb"],"license":"MIT","category":"databases-storage","readme_excerpt":"noneDB noneDB is a lightweight, file-based NoSQL database for PHP. No installation required - just include and go! Features - Zero dependencies - single PHP file - No database server required - just include and use - O(1) key lookups - JSONL storage with byte-offset indexing - Spatial indexing - R-tree for geospatial queries (v3.1) - MongoDB-style operators - $gt , $gte , $lt , $lte , $ne , $in , $nin , $exists , $like , $regex , $contains (v3.1) - Auto-sharding for large datasets (500K+ tested) - Thread-safe - atomic file locking for concurrent access - Method chaining - fluent query builder interface Requirements - PHP 7.4 or higher - Write permission on database directory Installation Manual Composer --- Quick Start --- Configuration Create a .nonedb file in your project root: Or programmatically: Development mode (no config required): See docs/CONFIGURATION.md for all options. --- Query Builder Available Operators Operator Description Example ---------- ------------- --------- $gt Greater than ['age' = ['$gt' = 18]] $gte Greater than or equal ['price' = ['$gte' = 100]] $lt Less than ['stock' = ['$lt' = 10]] $lte Less than or equal ['rating' = ['$lte' = 5]] $ne Not equal ['role' = ['$ne' = 'guest']] $in In array ['category' = ['$in' = ['a', 'b']]] $nin Not in array ['tag' = ['$nin' = ['spam']]] $exists Field exists ['email' = ['$exists' = true]] $like Pattern match ['name' = ['$like' = '^John']] $regex Regex match ['email' = ['$regex' = '@gmail']] $contains Array/string co","default_branch":null,"files":null,"tree":[],"storefront":"/r/orhanayd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/orhanayd/noneDB/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}