roadiz/core-bundle

Installs: 5 821

Dependents: 7

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 0

Type:symfony-bundle

v2.3.31 2024-10-26 17:31 UTC

This package is auto-updated.

Last update: 2024-11-06 00:33:17 UTC


README

Run test status

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

$ composer require roadiz/core-bundle

Applications that don't use Symfony Flex

Step 1: Download the 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

Step 2: Enable the 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],
];

Configuration

  • 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 project config/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:   /

Contributing

Report issues and send Pull Requests in the main Roadiz repository