romeoz/rock-dataprovider

Data providers (sorting, pagination)

0.11.0 2015-11-07 05:38 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:32:50 UTC


README

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.