nanbando/sulu

Nanando-Plugin which provides sulu presets

Maintainers

Details

github.com/nanbando/sulu

Source

Issues

Installs: 462

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:plugin

0.2.0 2017-07-11 12:17 UTC

This package is auto-updated.

Last update: 2024-11-25 08:11:41 UTC


README

Nanando-Plugin which provides requirements and config-presets. When this plugin ist activated it will detect your sulu version and edition. Therefor you can omit the necessary-config for your sulu-application.

Available Presets

This Plugin provides presets for all combinations between the editions "standard", "minimal" and phpcr_backends "jackrabbit" and "doctrinedbal". Also the drafting changes in versions ^1.3 will be handled correctly.

Automatic detection

This plugin is able to detect your application automatically. It will prepend the configuration for the application in your nanbando.json file.

If the plugin is not able todo this (f.e. if you integrate sulu into another application) you can still use the presets when you configure the application.

{
    ...
    "application": {
        "name": "sulu",
        "version": "1.4.1",
        "options" {
            "edition": "standard|minimal|custom",
            "phpcr_backend": "doctrinedbal|jackrabbit"
        }
    }
    ...
}

Installation

You can install this plugin by adding nanbando/sulu to the require-section of the nanbando.json file.

Configuration

{
    "name": "application",
    "imports": [
        "app/config/parameters.yml"
    ],
    "require": {
        "nanbando/sulu": "^0.1"
    }
}

If you use the standard edition you also have to import app/config/phpcr.yml which contains the configuration for phpcr_backend.

Documentation

See the official documentation on nanbando.readthedocs.io/en/latest/plugins/index.html.