nhagemann/anycontent-cms-construction-kit-php

This package is abandoned and no longer maintained. The author suggests using the nhagemann/anycontent-backend package instead.


README

Installation

Composer

Just create a composer.json file with following content and run composer install

{
    "require": {
        "php": ">=5.3",
        "nhagemann/anycontent-cms-construction-kit-php": "^3.0"

    },
    "scripts": {
        "post-update-cmd": "AnyContent\\CMCK\\Command\\Installer::postInstallUpdate",
        "post-install-cmd": "AnyContent\\CMCK\\Command\\Installer::postInstallUpdate"

    },
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Web Server (Vhost) Configuration

Then configure your webserver to server the content of the /web folder, e.g. as anycontent.dev.

Modules Configuration

Go to the /config folder and copy the file modules.example.php to modules.php.

Have a look into that file, if you want to customize your installation. You can turn off any module by removing it's registration call ($app->registerModule()) within this file.

Repository Configuration

Go to the /config folder and copy the file config.example.yml to config.yml.

Within that file you have to specify which AnyContent repositories you want to connect to. Furthermore you can specify how user should authenticate against your backend and add users. Default configuration contains a user with username and password john@example.org.