PHPackages                             romeoz/rock-dataprovider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. romeoz/rock-dataprovider

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

romeoz/rock-dataprovider
========================

Data providers (sorting, pagination)

0.11.0(10y ago)01564MITPHPPHP &gt;=5.4.0

Since Aug 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/romeOz/rock-dataprovider)[ Packagist](https://packagist.org/packages/romeoz/rock-dataprovider)[ RSS](/packages/romeoz-rock-dataprovider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (4)

Data providers (sorting, pagination)
====================================

[](#data-providers-sorting-pagination)

Independent fork by [Yii2 Data 2.0.4](https://github.com/yiisoft/yii2).

[![Latest Stable Version](https://camo.githubusercontent.com/3fb63636f79cb3deb5df066b3bb12d103f90f9eaa6b1378582739e10e52cbf2a/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d6461746170726f76696465722f762f737461626c652e737667)](https://packagist.org/packages/romeOz/rock-dataprovider)[![Total Downloads](https://camo.githubusercontent.com/370a45138bd2d4ab228367437f37315e5b38ad86414d79df8cfd9b4c8b04890f/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d6461746170726f76696465722f646f776e6c6f6164732e737667)](https://packagist.org/packages/romeOz/rock-dataprovider)[![Build Status](https://camo.githubusercontent.com/4ec7e5ed9bd8d95847f350dc6587699bc76b6cf5b44e36214c1ee368f956d806/68747470733a2f2f7472617669732d63692e6f72672f726f6d654f7a2f726f636b2d6461746170726f76696465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/romeOz/rock-dataprovider)[![HHVM Status](https://camo.githubusercontent.com/2a8c6ade408e0009a89e913b9405bfaa9227f036c3213a8c03ee4dea90ec1bbf/687474703a2f2f6868766d2e683463632e64652f62616467652f726f6d656f7a2f726f636b2d6461746170726f76696465722e737667)](http://hhvm.h4cc.de/package/romeoz/rock-dataprovider)[![Coverage Status](https://camo.githubusercontent.com/4bfa624f504880b17fd38402af66e514aa33189ec2c5763f614eb66b26b390a0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f726f6d654f7a2f726f636b2d6461746170726f76696465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/romeOz/rock-dataprovider?branch=master)[![License](https://camo.githubusercontent.com/e2f8b843b1f78d70c618b2b3b0efd82e19e858face922bc14b0bde2c20942118/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d6461746170726f76696465722f6c6963656e73652e737667)](https://packagist.org/packages/romeOz/rock-dataprovider)

Features
--------

[](#features)

- Providers:
    - array
    - active (required by [Rock DB](https://github.com/romeOz/rock-db/))
- Pagination
- Sorting
- **Standalone module/component for [Rock Framework](https://github.com/romeOz/rock)**

> Bolded features are different from [Yii2 Data](https://github.com/yiisoft/yii2).

Installation
------------

[](#installation)

From the Command Line:

```
composer require romeoz/rock-dataprovider

```

In your composer.json:

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

Requirements
------------

[](#requirements)

- **PHP 5.4+**
- For using `ActiveDataProvider` required [Rock DB](https://github.com/romeOz/rock-db): `composer require romeoz/rock-db`

> All unbolded dependencies is optional

License
-------

[](#license)

Data providers is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~32 days

Total

4

Last Release

3840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23c5d84a59845d751cb69f5469986579b9312c54c898b366fefdc05baaa80a9c?d=identicon)[romeOz](/maintainers/romeOz)

---

Top Contributors

[![romeOz](https://avatars.githubusercontent.com/u/3135712?v=4)](https://github.com/romeOz "romeOz (9 commits)")

---

Tags

paginationsort

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/romeoz-rock-dataprovider/health.svg)

```
[![Health](https://phpackages.com/badges/romeoz-rock-dataprovider/health.svg)](https://phpackages.com/packages/romeoz-rock-dataprovider)
```

###  Alternatives

[wenzhixin/bootstrap-table

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

11.8k283.4k1](/packages/wenzhixin-bootstrap-table)[kyslik/column-sortable

Package for handling column sorting in Laravel 6.x

6485.6M21](/packages/kyslik-column-sortable)[mottie/tablesorter

tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.

2.6k223.5k](/packages/mottie-tablesorter)[babdev/pagerfanta-bundle

Bundle integrating Pagerfanta with Symfony

20817.8M65](/packages/babdev-pagerfanta-bundle)[aplus/pagination

Aplus Framework Pagination Library

2091.6M3](/packages/aplus-pagination)[kop/yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget

180706.5k10](/packages/kop-yii2-scroll-pager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
