/conimex

🍛 Content Importer and Exporter (as YAML) for Bolt 4

Primary LanguagePHPMIT LicenseMIT

Conimex: Content Importer and Exporter

Author: Bob den Otter bobdenotter@gmail.com

Extension to export your bolt content as YAML, and import it again.

Installation:

composer require bobdenotter/conimex

Usage:

Exporting:

bin/console conimex:export websitename.yaml

To export a single Content Type, for example pages, use:

bin/console conimex:export websitename.yaml --contenttype=pages

To export a single Content Type as a CSV, use:

bin/console conimex:export websitename.csv --contenttype=pages

Importing:

bin/console conimex:import websitename.yaml

Running PHPStan and Easy Codings Standard

First, make sure dependencies are installed:

COMPOSER_MEMORY_LIMIT=-1 composer update

And then run ECS:

vendor/bin/ecs check src