2017-25 © Pedro Peláez
 

library mongominify

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

image

marcqualie/mongominify

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  • Wednesday, October 9, 2013
  • by marcqualie
  • Repository
  • 3 Watchers
  • 9 Stars
  • 1,988 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

MongoMinify (1.1-dev)

Build Status Total Downloads Latest Stable Version Dependency Status Bitdeli Badge [Say Tahanks](http://twitter.com/home/?status=Thanks @marcqualie for making Mongo+Minify: https%3A%2F%2Fgithub.com%2Fmarcqualie%2Fmongominify), (*1)

MongoMinify is a drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly. PSR-2 compliant and works with PHP 5.3+., (*2)

Getting started

You should check out the Getting Started page on the Wiki to get up and running, (*3)

Quick Instalation

The best way to install this library is via composer., (*4)

{
    "require": {
        "marcqualie/mongominify": "dev-master"
    }
}

Why MongoMinify?

As great as MongoDB is at so many things, it has a downside compared to other data stores that it stores it's keys wih every document. These keys quickly add up and sometimes double or even triple the amount of storage required. Myself and many other developers got around this by adding single letter key names, but this is hard to manage with large projects and documents. MongoMinify gets around this problem by transparently converting documents as they are transfered between the client and the database leaving readable code with compressed storage., (*5)

Requirements

  • PHP 5.3+
  • MongoDB PHP Driver 1.3+

Aggregation

The aggregation framework is very complex with a lot of use cases. I've tried to tackle it as best I can and it works for every use case I've come across. If you find a bug with minification while using the aggregtation framework, please create report it using Github Issues., (*6)

Feedback / Contributing

Feedback and pull requests on Github are always welcome and encouraged., (*7)

The Versions

09/10 2013

dev-master

9999999-dev

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

24/08 2013

1.0.x-dev

1.0.9999999.9999999-dev

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

09/08 2013

v1.0.4

1.0.4.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

04/08 2013

v1.0.3

1.0.3.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

17/07 2013

v1.0.2

1.0.2.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

09/07 2013

v1.0.1

1.0.1.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

25/06 2013

v1.0.0

1.0.0.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

25/05 2013

v0.0.4

0.0.4.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

21/05 2013

v0.0.3

0.0.3.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo 1.3.*

 

The Development Requires

mongodb database library compression

03/05 2013

v0.0.2

0.0.2.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression

24/04 2013

v0.0.1

0.0.1.0

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-mongo >=1.3.0

 

The Development Requires

mongodb database library compression