PHPackages                             piotr-cz/cockpit-import - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. piotr-cz/cockpit-import

ActiveCockpit-module[PDF &amp; Document Generation](/categories/documents)

piotr-cz/cockpit-import
=======================

Spreadsheet import module for Cockpit CMS

v1.1.3(9y ago)24472[1 issues](https://github.com/piotr-cz/cockpit-import/issues)[1 PRs](https://github.com/piotr-cz/cockpit-import/pulls)MITJavaScriptPHP &gt;= 5.3.10

Since Feb 23Pushed 5y ago4 watchersCompare

[ Source](https://github.com/piotr-cz/cockpit-import)[ Packagist](https://packagist.org/packages/piotr-cz/cockpit-import)[ Docs](https://github.com/piotr-cz/cockpit-import)[ RSS](/packages/piotr-cz-cockpit-import/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Spreadsheet import module [![icon](./artwork/icon.png)](./artwork/icon.png)
===========================================================================

[](#spreadsheet-import-module-)

Module for importing spreadsheet as collection entries in [Cockpit CMS](http://getcockpit.com/)

Features
--------

[](#features)

- Import from CSV files or JSON files *(generated by Cockpit collection export functionality)*
- Localization
- Auto-assign fields based on header *(Column names must match collection field names)*
- Filters
    - Text
    - Select
    - Boolean
    - Lookup entry matching Name *(for field type `link-collection`, useful for setting up categories)**For multiple collection links, use Vertical bar `|` as a separator.**Collection must have field named `name`*
    - Location *(Geolocate addresses)*

Requirements
------------

[](#requirements)

- Cockpit v0.13
- for CSV files IE10+/ Safari 6+ (see [Papaparse browser compatibility](http://papaparse.com/faq#browsers))

Installation
------------

[](#installation)

### Manual

[](#manual)

1. Download [latest release](https://github.com/piotr-cz/cockpit-import/releases/latest) and place in `[cockpit-path]/modules/addons/Import` or

    ```
    cd [cockpit-path]/modules/addons
    git clone https://github.com/piotr-cz/cockpit-import Import
    ```
2. Open cockpit backend.
3. In top-right corner you'll see *Import* button.

### Using composer

[](#using-composer)

1. In composer.json add path where cockpit modules are located:

    ```
    "extra": {
        "installer-paths": {
            "cockpit/modules/addons/{$name}": ["type:cockpit-module"]
        }
    },
    ```
2. Install module using command

    ```
    composer require piotr-cz/cockpit-import
    ```

Usage
-----

[](#usage)

1. Select collection and file

    [![Parsing](./artwork/screenshots/1-parsing.png)](./artwork/screenshots/1-parsing.png)
2. Map collection fields to spreadsheet columns

    [![Data mapping](./artwork/screenshots/2-data-mapping.png)](./artwork/screenshots/2-data-mapping.png)
3. Tune up processing options and click Import

    [![Processing](./artwork/screenshots/3-processing.png)](./artwork/screenshots/3-processing.png)

Authors
-------

[](#authors)

- [piotr\_cz](https://github.com/piotr-cz)

### 3p libraries

[](#3p-libraries)

- [Papaparse](http://papaparse.com/) (MIT)

Issues/ Feature requirements
----------------------------

[](#issues-feature-requirements)

Submit issue or feature requirement [here](https://github.com/piotr-cz/cockpit-import/issues)

[Latest](https://github.com/piotr-cz/import/archive/master.zip) development version

Licensed under MIT License
--------------------------

[](#licensed-under-mit-license)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 87% 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 ~49 days

Total

5

Last Release

3533d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04531027d1592929b57822d700d43ea8343edc1f2e0d5e298985491193eaa1fa?d=identicon)[piotr-cz](/maintainers/piotr-cz)

---

Top Contributors

[![piotr-cz](https://avatars.githubusercontent.com/u/612953?v=4)](https://github.com/piotr-cz "piotr-cz (40 commits)")[![gryphonmyers](https://avatars.githubusercontent.com/u/5785304?v=4)](https://github.com/gryphonmyers "gryphonmyers (6 commits)")

---

Tags

angularjscockpit-cmscsvimportjavascriptphpcockpitimportmodule

### Embed Badge

![Health badge](/badges/piotr-cz-cockpit-import/health.svg)

```
[![Health](https://phpackages.com/badges/piotr-cz-cockpit-import/health.svg)](https://phpackages.com/packages/piotr-cz-cockpit-import)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M712](/packages/maatwebsite-excel)[league/csv

CSV data manipulation made easy in PHP

3.5k166.1M646](/packages/league-csv)[goodby/csv

CSV import/export library

9555.6M23](/packages/goodby-csv)[moonlandsoft/yii2-phpexcel

Exporting PHP to Excel or Importing Excel to PHP

1491.1M16](/packages/moonlandsoft-yii2-phpexcel)[avadim/fast-excel-reader

Lightweight and very fast XLSX Excel Spreadsheet Reader in PHP

104608.4k6](/packages/avadim-fast-excel-reader)[ddeboer/data-import-bundle

A Symfony2 bundle for the ddeboer/data-import library

691.3M1](/packages/ddeboer-data-import-bundle)

PHPackages © 2026

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