DivanteLtd / pimcore-document-copier

4 stars 4 forks source link

Pimcore Document Copier

Pimcore bundle for copying documents between environments

Table of Contents

Compatibility

This module was tested on:

Installing/Getting started

Install latest version:

composer require divante-ltd/pimcore-document-copier

Add routing to app/config/routing.yml:

_documentcopier:
    resource: "@DocumentCopierBundle/Resources/config/pimcore/routing.yml"

Enable the bundle:

bin/console pimcore:bundle:enable DocumentCopierBundle

Import example documents:

bin/console document-copier:import --path=/codecept-document-copier/foo/bar --root=vendor/divante/pimcore-document-copier/app/Resources/test_root --recursiveDepth=2

View imported documents in Pimcore admin panel:\ Example documents imported

Usage

Admin interface

Context menu

Export dialog

Download a zipped export of selected document with or without its dependencies (other documents & assets).

Export dialog

Import dialog

Import a ZIP file with or without the dependencies.

Import dialog

Commands

Commands below are run whenever user requests import / export from admin panel.\ You can also run these commands directly. For example, you may keep your documents in repository and import them during migrations.

Export command

bin/console document-copier:export --path=PATH --root[=ROOT] --recursiveDepth[=RECURSIVEDEPTH]

Options:

Import command

bin/console document-copier:import --path=PATH --root[=ROOT] --recursiveDepth[=RECURSIVEDEPTH]

Options:

Limitations

Data objects are not handled by this package. Use other methods like CSV export instead.\ Features listed below have not been implemented as of yet (pull requests are welcome!)

Unsupported document types:

Unsupported editable types:

Unsupported document settings:

Testing

Run tests locally:

vendor/bin/codecept run -c tests/codeception.dist.yml

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Licence

Pimcore Document Copier source code is completely free and released under the GNU General Public License v3.0.

Standards & Code Quality

This module respects all Pimcore 6 code quality rules and our own PHPCS and PHPMD rulesets.

About Authors

Divante-logo

We are a Software House from Europe, existing from 2008 and employing about 150 people. Our core competencies are built around Magento, Pimcore and bespoke software projects (we love Symfony3, Node.js, Angular, React, Vue.js). We specialize in sophisticated integration projects trying to connect hardcore IT with good product design and UX.

We work for Clients like INTERSPORT, ING, Odlo, Onderdelenwinkel and CDP, the company that produced The Witcher game. We develop two projects: Open Loyalty - an open source loyalty program and Vue.js Storefront.

We are part of the OEX Group which is listed on the Warsaw Stock Exchange. Our annual revenue has been growing at a minimum of about 30% year on year.

Visit our website divante.com for more information.