PHPackages                             romeoz/rock - 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. [Framework](/categories/framework)
4. /
5. romeoz/rock

ActiveLibrary[Framework](/categories/framework)

romeoz/rock
===========

The Rock PHP framework

1.0.0-beta.9(10y ago)72471MITPHPPHP &gt;=5.4.0

Since Aug 1Pushed 10y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (20)Versions (10)Used By (1)

Rock PHP Framework
==================

[](#rock-php-framework)

**Framework is not ready for production use yet.**

[![Latest Stable Version](https://camo.githubusercontent.com/fd05dd3828670cf303a4c184261c30d3c0f6f1a2b0a9f6947ed982ed27e6a496/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2f762f737461626c652e737667)](https://packagist.org/packages/romeOz/rock)[![Total Downloads](https://camo.githubusercontent.com/51dd1d1bee0d5bbeea4e83dcdb589d283dc4359e80f00cd52c244c3a2b7cbb5f/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2f646f776e6c6f6164732e737667)](https://packagist.org/packages/romeOz/rock)[![Build Status](https://camo.githubusercontent.com/53bceb6352027a0950beb783cee8a411ee08f6d793657f2d332bf385854cbf79/68747470733a2f2f7472617669732d63692e6f72672f726f6d654f7a2f726f636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/romeOz/rock)[![Coverage Status](https://camo.githubusercontent.com/ddff58320965b128e230f5f794d04313a6dc72cd3476adaaa2a8fbad2c4bc2ec/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f726f6d654f7a2f726f636b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/romeOz/rock?branch=master)[![License](https://camo.githubusercontent.com/10603c937d2a6d1d6b3cfebf4458f095b8ee61bf708909ab242964777f9dbea9/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2f6c6963656e73652e737667)](https://packagist.org/packages/romeOz/rock)

[Rock Framework on Packagist](https://packagist.org/packages/romeOz/rock)

Features
--------

[](#features)

- Modular/Component design
- MVC
- [Dependency Injection](https://github.com/romeOz/rock-di)
- Route
- [Template engine](https://github.com/romeOz/rock-template)
    - [Snippets (listView, pagination,...)](https://github.com/romeOz/rock-template)
    - [HTML Builder](https://github.com/romeOz/rock-template)
    - [Widgets](https://github.com/romeOz/rock-widgets)
- [ORM/DBAL](https://github.com/romeOz/rock-db)
- [Events (Pub/Sub)](https://github.com/romeOz/rock-events)
- [Behaviors](https://github.com/romeOz/rock-behaviors)
    - TimestampBehavior
    - SluggableBehavior
    - ...
- Action filters
    - AccessFilter,
    - VerbFilter,
    - ContentNegotiatorFilter,
    - RateLimiter
    - CORS
    - ...
- Many different [helpers](https://github.com/romeOz/rock-helpers)
    - StringHelper
    - NumericHelper
    - ArrayHelper
    - ...
- [Url Builder](https://github.com/romeOz/rock-url)
- [DateTime Builder](https://github.com/romeOz/rock-date)
- [Request](https://github.com/romeOz/rock-request)
- Response + Formatters
    - HtmlResponseFormatter
    - JsonResponseFormatter
    - XmlResponseFormatter
    - RssResponseFormatter
    - SitemapResponseFormatter
- [Session](https://github.com/romeOz/rock-session)
- Cookie
- [i18n](https://github.com/romeOz/rock-i18n)
- Mail
- [Sanitization](https://github.com/romeOz/rock-sanitize)
- [Validation](https://github.com/romeOz/rock-validate)
- [Security](https://github.com/romeOz/rock-security) + [CSRF](https://github.com/romeOz/rock-csrf)
- RBAC (local or DB)
- Exception + Logger + Tracing
- [Cache](https://github.com/romeOz/rock-cache) **(option)**
    - File storage
    - Memcached
    - Redis
    - Couchbase
    - APCu
- [Image](https://github.com/romeOz/rock-image) **(option)**
- [File Manager + Upload File](https://github.com/romeOz/rock-file) **(option)**
- [Markdown](https://github.com/romeOz/rock-markdown) **(option)**
- [Sphinx API/ORM](https://github.com/romeOz/rock-sphinx) **(option)**
- [Morphy API](https://github.com/romeOz/rock-morphy) **(option)**
- [MongoDB ODM](https://github.com/romeOz/rock-mongodb) **(option)**
- OAuth/OAuth2 clients
- [Message queue services](https://github.com/romeOz/rock-mq) **(option)**
    - ZeroMQ
    - RabbitMQ
    - Gearman

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

[](#installation)

From the Command Line:

`composer require romeoz/rock:*@dev`

In your composer.json:

```
{
    "require": {
        "romeoz/rock": "*@dev"
    }
}
```

Demo &amp; Tests (one of two ways)
----------------------------------

[](#demo--tests-one-of-two-ways)

\####1. Docker + Ansible

- [Install Docker](https://docs.docker.com/installation/) or [askubuntu](http://askubuntu.com/a/473720)
- `docker run -d -p 8080:80 romeoz/rock-app-basic`
- Open demo

\####2. VirtualBox + Vagrant + Ansible

- `composer create-project --prefer-dist romeoz/rock-app-basic:*@dev`
- [Install VirtualBox](https://www.virtualbox.org/wiki/Downloads)
- [Install Vagrant](https://www.vagrantup.com/downloads), and additional Vagrant plugins `vagrant plugin install vagrant-hostsupdater vagrant-vbguest vagrant-cachier`
- `vagrant up`
- Open demo [http://rock-basic/](http:/rock-basic/) or

> Work/editing the project can be done via ssh:

```
vagrant ssh
cd /var/www/rock-basic
```

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

[](#requirements)

- **PHP 5.4+**
- **MySQL 5.5+**

License
-------

[](#license)

The Rock PHP Framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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 ~45 days

Recently: every ~12 days

Total

9

Last Release

3989d 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 (825 commits)")

---

Tags

frameworkrock

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[getkirby/cms

The Kirby core

1.5k584.8k472](/packages/getkirby-cms)[doppar/framework

The Doppar Framework

4012.4k14](/packages/doppar-framework)[bowphp/framework

The bow PHP Framework

6017.5k13](/packages/bowphp-framework)

PHPackages © 2026

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