PHPackages                             emakinafr/magento2-cobai - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. emakinafr/magento2-cobai

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

emakinafr/magento2-cobai
========================

Magento2 module to transfer your CMS data from a platform to another platform.

1.1.0(5y ago)444.5k↓31.7%MITPHP

Since Jan 20Pushed 5y ago10 watchersCompare

[ Source](https://github.com/EmakinaFR/magento2-cobai)[ Packagist](https://packagist.org/packages/emakinafr/magento2-cobai)[ RSS](/packages/emakinafr-magento2-cobai/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Welcome to COBAI - Magento module 👋
===================================

[](#welcome-to-cobai---magento-module-)

 [![emakina.fr](https://camo.githubusercontent.com/ed70de37eab62514b014d900cc673ed07fb22b4b4ba3e6b5c2923f35846af513/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6164655f62792d456d616b696e612d626c61636b2e7376673f63616368655365636f6e64733d32353932303030)](https://camo.githubusercontent.com/ed70de37eab62514b014d900cc673ed07fb22b4b4ba3e6b5c2923f35846af513/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6164655f62792d456d616b696e612d626c61636b2e7376673f63616368655365636f6e64733d32353932303030) [![open source](https://camo.githubusercontent.com/e3f3b35c98a9ea733dc654345653d1c97819ed5eb6ec286848dc18eb862b0018/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e5f536f757263652de299a52d696e666f726d6174696f6e616c2e7376673f63616368655365636f6e64733d32353932303030)](https://camo.githubusercontent.com/e3f3b35c98a9ea733dc654345653d1c97819ed5eb6ec286848dc18eb862b0018/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e5f536f757263652de299a52d696e666f726d6174696f6e616c2e7376673f63616368655365636f6e64733d32353932303030) [![licence MI](https://camo.githubusercontent.com/da7cdc796f232d0c9ea6b5d50ce3f9c61dd8354f3d051c209183c7b5a2cf27ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d696e666f726d6174696f6e616c2e7376673f63616368655365636f6e64733d32353932303030)](https://camo.githubusercontent.com/da7cdc796f232d0c9ea6b5d50ce3f9c61dd8354f3d051c209183c7b5a2cf27ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d696e666f726d6174696f6e616c2e7376673f63616368655365636f6e64733d32353932303030) [![magento version 2.3.x](https://camo.githubusercontent.com/a210852d128e515474000904cbf7667e03b90294a5e01da531c24a9564991c5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e332e782d696d706f7274616e742e7376673f63616368655365636f6e64733d32353932303030)](https://camo.githubusercontent.com/a210852d128e515474000904cbf7667e03b90294a5e01da531c24a9564991c5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e332e782d696d706f7274616e742e7376673f63616368655365636f6e64733d32353932303030)

 [![COBAI Magento module](.github/logo.jpg)](.github/logo.jpg)

🐹 What is COBAI Magento module?
-------------------------------

[](#-what-is-cobai-magento-module)

`COBAI Magento module` helps you to transfer your CMS blocks, pages, images, and hierarchies from a platform to another platform.

When you run the export command line, `COBAI Magento module` creates a package with all your CMS data in your `var/export` directory. After that, you just need to transfer your archive to the other platform in the `var/import` directory. Then, run the import command line.

⚠️ Don't forget to clean your `var/export` and `var/import` directories. Indeed, the import does not delete the imported files so that you can reuse them if you need it.

### Why COBAI?

[](#why-cobai)

Because `COBAI` is the abbreviation of `COntent Backup And Import` *- we wanted to have a funny and cute logo -*.

### Compatibility

[](#compatibility)

`COBAI Magento module` is compatible with Magento **2.3.x** CE and EE versions. If you work with Magento EE version, it keeps your layouts configurations with the PageBuilder.

🛠 Getting Started
-----------------

[](#-getting-started)

### Install

[](#install)

You can install the module with Composer.

```
$ composer require emakinafr/magento2-cobai
$ php bin/magento setup:upgrade

```

### Usage

[](#usage)

To export an archive with pages, blocks, images and hierarchies, you need to run:

```
$ bin/magento cobai:cms:export

```

To import an archive, you need to run:

```
$ bin/magento cobai:cms:import

```

To clean your working directory, you need to run:

```
$ rm -rf var/export var/import

```

🚀 Advanced Features
-------------------

[](#-advanced-features)

### Export Options

[](#export-options)

```
$ bin/magento cobai:cms:export --type [typeOption]

```

Type OptionDescriptionarchiveexport archive to zip fileblockexport blocks to csv fileimageexport images to zip filehierarchyexport hierarchies to csv filepageexport pages to csv fileIf you want to customize the name of your file you can use `--file=[name]`. You need to specify the path of this file, for example: `var/export/archive.zip`.

### Import Options

[](#import-options)

```
$ bin/magento cobai:cms:import --type [typeOption]

```

Type OptionDescriptionarchiveimport archive to zip fileblockimport blocks to csv fileimageimport images to zip filehierarchyimport hierarchies to csv filepageimport pages to csv file### Warning

[](#warning)

- By default, the option only adds changes except for the **hierarchy and image option** which systematically **replaces all data**.
- For blocks/pages, you can use `--force`, to update old blocks/pages.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~170 days

Total

2

Last Release

2139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e667265b740e79e143d7149d9e0a0f41196166979524a7ba0a18e5d223e89b56?d=identicon)[ajardin](/maintainers/ajardin)

![](https://www.gravatar.com/avatar/081811b5a561fc8fed2a1e12b7df0c0fff1c940fd3083b0a7c9d52939974d8d8?d=identicon)[ITEmakina](/maintainers/ITEmakina)

---

Top Contributors

[![djino87](https://avatars.githubusercontent.com/u/38313423?v=4)](https://github.com/djino87 "djino87 (25 commits)")[![nfabre](https://avatars.githubusercontent.com/u/153861?v=4)](https://github.com/nfabre "nfabre (1 commits)")

---

Tags

magento2magento2-developmentmagento2-modulemagento2-page-builder

### Embed Badge

![Health badge](/badges/emakinafr-magento2-cobai/health.svg)

```
[![Health](https://phpackages.com/badges/emakinafr-magento2-cobai/health.svg)](https://phpackages.com/packages/emakinafr-magento2-cobai)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

292927.5k22](/packages/craftcms-feed-me)[troydavisson/phrets

RETS library in PHP

463355.6k](/packages/troydavisson-phrets)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
