romeoz / rock
The Rock PHP framework
1.0.0-beta.9
2015-08-01 19:43 UTC
Requires
- php: >=5.4.0
- filp/whoops: 1.1.*
- monolog/monolog: 1.15.*
- phpmailer/phpmailer: 5.2.*
- romeoz/rock-access: 0.10.*
- romeoz/rock-behaviors: 0.11.*
- romeoz/rock-components: 0.11.*
- romeoz/rock-csrf: 0.11.*
- romeoz/rock-dataprovider: 0.10.*
- romeoz/rock-date: 0.10.*
- romeoz/rock-db: 0.12.*
- romeoz/rock-di: 0.12.*
- romeoz/rock-i18n: 0.10.*
- romeoz/rock-request: 0.11.*
- romeoz/rock-sanitize: 0.10.*
- romeoz/rock-session: 0.10.*
- romeoz/rock-template: 0.12.*
- romeoz/rock-url: 0.11.*
- romeoz/rock-validate: 0.10.*
- romeoz/rock-widgets: 0.11.*
Requires (Dev)
- phpunit/phpunit: ~4.7.0
Suggests
- lusitanian/oauth: required by rock-authclient extension
- mibe/feedwriter: required by RssResponseFormatter
- romeoz/rock-cache: Rock Cache
- romeoz/rock-file: Rock File
- romeoz/rock-image: Rock Image
- romeoz/rock-markdown: Rock Markdown
- romeoz/rock-mongodb: Rock MongoDB
- romeoz/rock-morphy: Rock Morphy
- romeoz/rock-mq: Rock MQ
- romeoz/rock-sphinx: Rock Sphinx
- tackk/cartographer: required by SitemapResponseFormatter
This package is not auto-updated.
Last update: 2024-11-09 17:19:28 UTC
README
Framework is not ready for production use yet.
Features
- Modular/Component design
- MVC
- Dependency Injection
- Route
- Template engine
- ORM/DBAL
- Events (Pub/Sub)
- Behaviors
- TimestampBehavior
- SluggableBehavior
- ...
- Action filters
- AccessFilter,
- VerbFilter,
- ContentNegotiatorFilter,
- RateLimiter
- CORS
- ...
- Many different helpers
- StringHelper
- NumericHelper
- ArrayHelper
- ...
- Url Builder
- DateTime Builder
- Request
- Response + Formatters
- HtmlResponseFormatter
- JsonResponseFormatter
- XmlResponseFormatter
- RssResponseFormatter
- SitemapResponseFormatter
- Session
- Cookie
- i18n
- Sanitization
- Validation
- Security + CSRF
- RBAC (local or DB)
- Exception + Logger + Tracing
- Cache (option)
- File storage
- Memcached
- Redis
- Couchbase
- APCu
- Image (option)
- File Manager + Upload File (option)
- Markdown (option)
- Sphinx API/ORM (option)
- Morphy API (option)
- MongoDB ODM (option)
- OAuth/OAuth2 clients
- Message queue services (option)
- ZeroMQ
- RabbitMQ
- Gearman
Installation
From the Command Line:
composer require romeoz/rock:*@dev
In your composer.json:
{ "require": { "romeoz/rock": "*@dev" } }
Demo & Tests (one of two ways)
####1. Docker + Ansible
- Install Docker or askubuntu
docker run -d -p 8080:80 romeoz/rock-app-basic
- Open demo http://localhost:8080/
####2. VirtualBox + Vagrant + Ansible
composer create-project --prefer-dist romeoz/rock-app-basic:*@dev
- Install VirtualBox
- Install Vagrant, and additional Vagrant plugins
vagrant plugin install vagrant-hostsupdater vagrant-vbguest vagrant-cachier
vagrant up
- Open demo http://rock-basic/ or http://192.168.55.55/
Work/editing the project can be done via ssh:
vagrant ssh
cd /var/www/rock-basic
Requirements
- PHP 5.4+
- MySQL 5.5+
License
The Rock PHP Framework is open-sourced software licensed under the MIT license.