Skip to content

or1can/substance

Repository files navigation

Substance

Substance is a Content Management System (CMS) and application framework. Substance is intended to be a standards based, object oriented application framework that happens to include a Web based CMS, both as example of what the framework can do and as a driver for the development of the framework.

The framework is based on carefully chosen standards (which ideally would not include PHP as a base!).

Build Status Dependency Status

Requirements

  • PHP 5.3.7+ (except Redhat/CentOS where 5.3.3+)
  • mb_string extension
  • DOM/XML extension
  • composer

Installation

We use composer (https://getcomposer.org) to manage our dependencies, so installation is pretty simple.

  1. Run ./bin/bootstrap.sh to fetch composer and install the required dependencies.

Development

We use Vagrant to allow us to easily check substance against our supported platforms. Currently, we have a single platform, Centos 6.5, Apache 2.2 and PHP 5.3. Install Vagrant and from the project root type:

vagrant up

to get you up and running. If you are running a system that already has Apache 2.2 and PHP 5.3, set up a virtual host with your document root pointing at the "public" folder.

References