PHPackages                             arraypress/wp-register-importers - 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. arraypress/wp-register-importers

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arraypress/wp-register-importers
================================

WordPress library for registering CSV import operations with batch processing, field mapping, validation, and progress tracking.

261PHPCI passing

Since Mar 10Pushed 2mo agoCompare

[ Source](https://github.com/arraypress/wp-register-importers)[ Packagist](https://packagist.org/packages/arraypress/wp-register-importers)[ RSS](/packages/arraypress-wp-register-importers/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WordPress Register Importers
============================

[](#wordpress-register-importers)

A WordPress library for creating CSV import interfaces with a declarative, WordPress-style API. Define your fields, validation rules, and a single process callback — the library handles the UI, file upload, field mapping, batch processing, progress tracking, and error reporting.

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

[](#installation)

```
composer require arraypress/wp-register-importers
```

Quick Start
-----------

[](#quick-start)

```
add_action( 'init', function() {
    register_importers( 'my-plugin', [
        'page_title'  => 'Import Data',
        'menu_title'  => 'Import',
        'parent_slug' => 'my-plugin-menu',
        'operations'  => [
            'import_products' => [
                'title'       => 'Import Products',
                'description' => 'Import products from a CSV file.',
                'fields'      => [
                    'name'  => [ 'label' => 'Product Name', 'required' => true ],
                    'price' => [ 'label' => 'Price', 'type' => 'number', 'minimum' => 0.01 ],
                ],
                'process_callback' => function( array $row ) {
                    $post_id = wp_insert_post( [
                        'post_title' => $row['name'],
                        'post_type'  => 'product',
                        'post_status' => 'publish',
                    ] );
                    if ( is_wp_error( $post_id ) ) {
                        return $post_id;
                    }
                    update_post_meta( $post_id, '_price', $row['price'] );
                    return 'created';
                },
            ],
        ],
    ] );
}, 20 );
```

Documentation
-------------

[](#documentation)

Full documentation is available at ****

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

[](#requirements)

- PHP 8.1+
- WordPress 6.0+

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance57

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![arraypress](https://avatars.githubusercontent.com/u/22668877?v=4)](https://github.com/arraypress "arraypress (18 commits)")

### Embed Badge

![Health badge](/badges/arraypress-wp-register-importers/health.svg)

```
[![Health](https://phpackages.com/badges/arraypress-wp-register-importers/health.svg)](https://phpackages.com/packages/arraypress-wp-register-importers)
```

###  Alternatives

[boxybird/inertia-wordpress

The WordPress adapter for Inertia.js

1827.4k](/packages/boxybird-inertia-wordpress)[mapbender/mapbender

Mapbender library

10117.4k5](/packages/mapbender-mapbender)[charm/uuid

A very fast and dependency free library to generate UUIDs (GUIDs) version 1 or 4, sortable UUIDs that validates, or 64 bit unique identifiers according to Twitters' Snowflake, Sonyflake or Instaflake algorithms.

1226.2k](/packages/charm-uuid)[kriss/yii2-calendar-schedule

Yii2 Calendar Schedule

107.9k](/packages/kriss-yii2-calendar-schedule)

PHPackages © 2026

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