2017 © Pedro Peláez
 

library cmf

image

custom-cmf/cmf

  • Friday, March 6, 2015
  • by itcreator
  • Repository
  • 2 Watchers
  • 4 Stars
  • 42 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

custom-cmf

PHP CMF for developers, (*1)

Installation guide

Create composer.json:

{
    "name": "YourName",
    "require": {
        "php": ">=5.4.3",
        "custom-cmf/cmf": "dev-master"
    },
    "include-path": ["vendor/doctrine/orm/lib", "."],
    "minimum-stability": "dev",
    "scripts": {
        "post-install-cmd": [
            "Cmf\\Application\\Composer\\Script::installApp",
            "Cmf\\Application\\Composer\\Script::initEnvironment",
            "Cmf\\Application\\Composer\\Script::updateDb",
            "Cmf\\PublicResources\\Composer\\Script::installAssets"
        ],
        "post-update-cmd": [
            "Cmf\\Application\\Composer\\Script::installApp",
            "Cmf\\Application\\Composer\\Script::initEnvironment",
            "Cmf\\Application\\Composer\\Script::updateDb",
            "Cmf\\PublicResources\\Composer\\Script::installAssets"
        ]
    },
    "config": {
        "bin-dir": "bin"
    }
}

Use Composer

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*2)

curl -s http://getcomposer.org/installer | php

Then, use the install command to generate a new Custom CMF application:, (*3)

COMPOSER_PROCESS_TIMEOUT=4000 ./composer.phar install

Web server

For running of the Custom CMF you can use built-in web server:, (*4)

bin/console server:start

You can also use other servers, (*5)

nginx: https://github.com/itcreator/custom-cmf/blob/master/misc/nginx.config, (*6)

apache2: https://github.com/itcreator/custom-cmf/blob/master/misc/apache2.conf, (*7)

Other

See Custom CMF example application https://github.com/itcreator/custom-cmf-example, (*8)

The Versions