Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Open a command console, enter your project directory and execute:
$ composer require roadiz/core-bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require roadiz/core-bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
// config/bundles.php
return [
// ...
\RZ\Roadiz\CoreBundle\RoadizCoreBundle::class => ['all' => true],
];
- Create folders:
public/assets
,public/themes
,public/files
,themes/
,var/files
for app documents and runtime classes - Copy and merge
@RoadizCoreBundle/config/packages/*
files into your projectconfig/packages
folder - Make to change your
framework.session.name
if you have multiple website running on the same localhost - Add current bundle and
rezozero/intervention-request-bundle
routes to your project:
# config/routes.yaml
roadiz_core:
resource: "@RoadizCoreBundle/config/routing.yaml"
rz_intervention_request:
resource: "@RZInterventionRequestBundle/Resources/config/routing.yml"
prefix: /
Report issues and send Pull Requests in the main Roadiz repository