PHPackages                             gears/nosqlite - 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. gears/nosqlite

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

gears/nosqlite
==============

A NoSQL Database, with the portability of SQLite

v1.1(11y ago)43481MITPHPPHP &gt;=5.3

Since Oct 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/phpgearbox/nosqlite)[ Packagist](https://packagist.org/packages/gears/nosqlite)[ Docs](https://github.com/phpgearbox/nosqlite)[ RSS](/packages/gears-nosqlite/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (12)Used By (0)

The NoSqLite Gear - A NoSQL Database, with the portability of SQLite
====================================================================

[](#the-nosqlite-gear---a-nosql-database-with-the-portability-of-sqlite)

I recently found MongoDB and fell in love with it, but I wanted something like SqLite, something where I didn't have to worry about database servers. This is what this project is all about.

The NoSQL database engine is built with PHP code. Thus the server and client are one just like SqLite. You simply give it a path to your database folder and away you go, no server setup, no user accounts, no passwords.

Originally the project just used plain old JSON to store the data. However it now contains many diffrent backends, so your database can be XML based or it might use the built in PHP serialize functionality for example.

Perhaps one day someone much clever than I may build a PHP extension. Also in the documentation there is (will be) a specification document outlining every detail so that other programmers can build their own drivers to read the database format much the same way MongoDB works.

How to Install
--------------

[](#how-to-install)

Installation via composer is easy:

```
composer require gears/nosqlite:*

```

How do I use it?
----------------

[](#how-do-i-use-it)

Once you have the src included in your project you can use it like this:

```
