PHPackages                             romeoz/rock-app-basic - 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-app-basic

ActiveLibrary[Framework](/categories/framework)

romeoz/rock-app-basic
=====================

Rock Basic Application

0.10.5(10y ago)111MITCSSPHP &gt;=5.4.0

Since Jun 13Pushed 10y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

Basic Application (demo) for [Rock Framework](https://github.com/romeOz/rock)
=============================================================================

[](#basic-application-demo-for-rock-framework)

[![Build Status](https://camo.githubusercontent.com/a6afd7ea1d4754c502a28a1094f1e236c252a2f1190a1bae371e28551205a46b/68747470733a2f2f7472617669732d63692e6f72672f726f6d654f7a2f726f636b2d6170702d62617369632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/romeOz/rock-app-basic)[![HHVM Status](https://camo.githubusercontent.com/e792801361a22fb533fff7dc085a9d25ac59a5a7861e84da6fcb9cc4dae278ba/687474703a2f2f6868766d2e683463632e64652f62616467652f726f6d656f7a2f726f636b2d6170702d62617369632e737667)](http://hhvm.h4cc.de/package/romeoz/rock-app-basic)[![Coverage Status](https://camo.githubusercontent.com/9b1b4955eecc45dc39a3e540f47153044f06ef85a27ee6d1b22e09cf072c6353/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f726f6d654f7a2f726f636b2d6170702d62617369632f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/romeOz/rock-app-basic?branch=master)[![License](https://camo.githubusercontent.com/28289d8862f9c3da4529395ec67a337b2f566a528efa4af0494234e871b653ac/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d6170702d62617369632f6c6963656e73652e737667)](https://packagist.org/packages/romeOz/rock-app-basic)

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

[](#installation)

From the Command Line:

`composer require romeoz/rock-app-basic:*`

In your composer.json:

```
{
    "require": {
        "romeoz/rock-app-basic": "*"
    }
}
```

If you want to create tables `Users` and `RBAC`, then run `/path/to/apps/common/migrations/bootstrap.php`.

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:*`
- [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`
- [Install Ansible](http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu)
- `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
```

\####Out of the box:

- Ubuntu 14.04 64 bit

> If you need to use 32 bit of Ubuntu, then uncomment `config.vm.box_url` the appropriate version in the file `/path/to/Vagrantfile`.

- Nginx 1.8
- PHP-FPM 5.6
- MySQL 5.6
- Composer

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

[](#requirements)

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

Configure server
----------------

[](#configure-server)

For a single entry point.

\####Apache

Security via "white list":

```
RewriteCond %{REQUEST_URI} ^\/(?!index\.php|robots\.txt|500\.html|favicon\.ico||assets\b\/.+\.(?:js|ts|css|ico|xml|swf|flv|pdf|xls|htc|gif|jpg|png|jpeg)$).*$ [NC]
RewriteRule ^.*$ index.php [L]

```

\####Nginx

Security via "white list":

```
location ~ ^\/(?!index\.php|robots\.txt|favicon\.ico|500\.html|assets\b\/.+\.(?:js|ts|css|ico|xml|swf|flv|pdf|xls|htc|gif|jpg|png|jpeg)$).*$
{
    rewrite ^.*$ /index.php;
}

```

or [**optimal version**](https://github.com/romeOz/rock-app-basic/blob/master/provisioning/roles/nginx/templates/site.conf) ([recommended](https://events.yandex.ru/lib/talks/2392/) Igor Sysoev)

License
-------

[](#license)

Basic Application for [Rock Framework](https://github.com/romeOz/rock) is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

6

Last Release

3961d 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 (119 commits)")

---

Tags

demoframerockrock

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68535.8M592](/packages/nette-bootstrap)[cakephp/utility

CakePHP Utility classes such as Inflector, String, Hash, and Security

12127.1M63](/packages/cakephp-utility)

PHPackages © 2026

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