PHPMongoKit

View the Project on GitHub PHPMongoKit

Products

Mongo ODM

Why to use this ODM? You can easily work with document data through comfortable getters and setters instead of array and don't check if key exist in array. Access to subdocument use dot-syntax. You can validate data passed to document before save. We give you events, which you can handle in different moments of document's life, and more things which make you life easier.

Github: https://github.com/sokil/php-mongo

Documentation: https://github.com/sokil/php-mongo/blob/master/README.md

Download: https://github.com/sokil/php-mongo/releases/latest

Install through Composer:


composer require sokil/php-mongo

News

2017-11-10 Released v. 1.22.2

2017-06-20 Released v. 1.21.5

2017-01-17 Released v.1.20

2016-12-18 Released v.1.19.2

2016-09-13 Released v.1.18.2

2016-08-18 Released v.1.18.1

2016-08-16 Released v.1.17

2016-06-27 Released v.1.16.1

2016-06-23 Released v.1.16

2016-04-27 Released v1.15.2

2016-03-10 Released v.1.15.1

2016-03-01 Released v.1.15

2016-01-30 Released v.1.14

2016-01-13 Released v.1.13.9

2016-01-01 Released v.1.13.8

2015-09-27 Released v.1.13.7

2015-08-25 Released v.1.13.6

2015-08-07 Released v.1.13.5

2015-07-27 Released v.1.13.4

2015-07-06 Released v.1.13.3

2015-05-22 Released v.1.13.2

2015-05-14 Released v.1.13.1

2015-05-03 Released v.1.13

2015-03-03 Released v.1.12.8

2015-02-20 Released v.1.12.7

2015-02-06 Released v.1.12.6

2015-02-01 Released v.1.12.5

2015-01-27 Released v.1.12.4

2015-01-18 Released v.1.12.3

Mongo Migrator

Migration manager for MongoDB

Schema not required in MongoDb, so we dont need to create databases, collections or altering them. However there are some cases when migrations required in schemaless databases:

Github and documentation: https://github.com/sokil/php-mongo-migrator

Download: https://github.com/sokil/php-mongo-migrator/releases/latest

Install through Composer:


{
    "require": {
        "sokil/php-mongo-migrator": "dev-master"
    }
}

Install phar:


  wget http://phpmongokit.github.io/dists/mongo-migrator.phar && chmod +x mongo-migrator.phar && sudo mv mongo-migrator.phar /usr/local/bin

Mongo ODM Symfony bundle

Github and documentation: https://github.com/sokil/php-mongo-bundle

Download: https://github.com/sokil/php-mongo-bundle/releases/latest

Install through Composer:


{
    "require": {
        "sokil/php-mongo-bundle": "dev-master"
    }
}

Laravel PHPMongo Adapter

Github and documentation: https://github.com/sokil/laravel-mongo-odm

Download: https://github.com/sokil/laravel-mongo-odm/releases/latest

Install through Composer:


composer require phpmongokit/laravel-mongo-odm

Mongo ODM Yii adapter

Consists of PHPMongo adapter, data provider and log router for MongoDb.

Github and documentation: https://github.com/sokil/php-mongo-yii

Download: https://github.com/sokil/php-mongo-yii/releases/latest

Install through Composer:


{
    "require": {
        "sokil/php-mongo-yii": "dev-master"
    }
}

Mongo ODM Yii2 adapter

Consists of PHPMongo adapter for MongoDb.

Github and documentation: https://github.com/PHPMongoKit/yii2-mongo-odm

Download: https://github.com/PHPMongoKit/yii2-mongo-odm/releases/latest

Install through Composer:


composer require phpmongokit/yii2-mongo-odm
Fork me on GitHub