Skip to content

romeOz/rock-dataprovider

Repository files navigation

Data providers (sorting, pagination)

Independent fork by Yii2 Data 2.0.4.

Latest Stable Version Total Downloads Build Status HHVM Status Coverage Status License

Features

  • Providers:
    • array
    • active (required by Rock DB)
  • Pagination
  • Sorting
  • Standalone module/component for Rock Framework

Bolded features are different from Yii2 Data.

Installation

From the Command Line:

composer require romeoz/rock-dataprovider

In your composer.json:

{
    "require": {
        "romeoz/rock-dataprovider": "*"
    }
}

Requirements

  • PHP 5.4+
  • For using ActiveDataProvider required Rock DB: composer require romeoz/rock-db

All unbolded dependencies is optional

License

Data providers is open-sourced software licensed under the MIT license.