nhagemann / anycontent-repository-mysql-php
Requires
- php: >=5.3
- aws/aws-sdk-php: 2.8.*
- dflydev/apache-mime-types: 1.0.*
- doctrine/cache: 1.3.*
- monolog/monolog: 1.12.0
- nhagemann/cmdl-parser-php: 0.12.*
- silex/silex: 1.2.*
- symfony/filesystem: 2.5.*
- symfony/finder: 2.5.*
- symfony/yaml: 2.5.*
Requires (Dev)
- phpunit/phpunit: ~3.7.0
- symfony/browser-kit: >=2.3,<2.4-dev
README
Installation
Composer
Just create a composer.json file with following content and run composer install
{ "require": { "php": ">=5.3", "nhagemann/anycontent-repository-mysql-php": "0.9.*" }, "scripts": { "post-update-cmd": "AnyContent\Repository\Command\Installer::postInstallUpdate", "post-install-cmd": "AnyContent\Repository\Command\Installer::postInstallUpdate"
},
"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 acrs.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 at least your database connection.