Skip to content

Commit

Permalink
PHP 7.1 and phalcon/incubator 3.2 are now required, updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleangioni committed Jul 7, 2017
1 parent f81c3af commit 9317e9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 1 addition & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 9317e9b

Please sign in to comment.