diff --git a/composer.json b/composer.json index 7c1a63e..6b00089 100644 --- a/composer.json +++ b/composer.json @@ -10,11 +10,11 @@ } ], "require": { - "php": "^7.0", - "ext-phalcon": "^3.0" + "php": "^7.1", + "ext-phalcon": "^3.2", + "phalcon/incubator": "^3.2" }, "require-dev": { - "phalcon/incubator": "^3.0", "phpunit/phpunit": "^5.7" }, "autoload": { diff --git a/readme.md b/readme.md index 0c88d37..0e8f066 100644 --- a/readme.md +++ b/readme.md @@ -9,9 +9,7 @@ Phalcon Repositories lets you easily build repositories for your Phalcon models, for both **SQL** and **Mongo** drivers. -PHP 7.0+ and Phalcon 3 are required. - -**(!) The PHP Mongo extension and Phalcon 3.2+ are required when using the AbstractCollectionRepository.** +PHP 7.1+ and Phalcon 3.2+ are required. ## Installation @@ -104,8 +102,6 @@ class PostsController extends Controller ## Usage with MongoDB -**(!) The PHP Mongo extension and Phalcon 3.2+ are required when using the AbstractCollectionRepository.** - The abstract class `AbstractCollectionRepository`, similary to `AbstractRepository`, consists of a model wrapper with numerous useful queries to be performed over the Phalcon collections. This way implementing the repository pattern becomes straightforward.