PHPackages                             cocur/plum - 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. cocur/plum

Abandoned → [plumphp/plum](/?search=plumphp%2Fplum)Library

cocur/plum
==========

Plum is a data processing pipeline that helps you to write structured, reusable and well tested data processing code.

v0.1.1(11y ago)3708MITPHP

Since Dec 10Pushed 11y ago1 watchersCompare

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

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

[Please use plumphp/plum instead](http://github.com/plumphp/plum)
=================================================================

[](#please-use-plumphpplum-instead)

[![Plum](https://camo.githubusercontent.com/14f6d50ec579ff92de1b6d6de89f274a8dcedd72f8855c4dd881a2594130dff7/68747470733a2f2f666c6f7269616e2e65632f696d672f706c756d2f6c6f676f2e706e67)](https://camo.githubusercontent.com/14f6d50ec579ff92de1b6d6de89f274a8dcedd72f8855c4dd881a2594130dff7/68747470733a2f2f666c6f7269616e2e65632f696d672f706c756d2f6c6f676f2e706e67)

==== > Plum is a data processing pipeline that helps you to write structured, reusable and well tested data processing code.

[![Build Status](https://camo.githubusercontent.com/91901ca782f9fa0b364054516b26918e0d90a8bce432b2d366c34cc7a894b37a/68747470733a2f2f7472617669732d63692e6f72672f636f6375722f706c756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cocur/plum)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ab4ea9cae8588856444ba9f21c3aeb36d8106a2f5fa174c177f1ba8a35f84d39/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6375722f706c756d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cocur/plum/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/cfceafea39abd365da361bfcc7fdb8a9203c08ed876e2ff0ca392e50146107ae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6375722f706c756d2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cocur/plum/?branch=master)

Developed by [Florian Eckerstorfer](https://florian.ec) in Vienna, Europe.

Features
--------

[](#features)

Plum is a data processing pipeline, that means it reads data, filters and converts it and then writes the data.

- Filters, converters and even writers are pipeline elements that can be attached to a workflow in arbitrary order
- Readers are iterators that can return values of arbitrary type: arrays, objects or scalars, it doesn't matter to Plum
- Conditional converters that are only applied to an item if it passes a filter
- Ability to concatenate workflow to create smaller and better reusable workflows

*Plum has been greatly inspired by [ddeboer/data-import](https://github.com/ddeboer/data-import).*

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

[](#installation)

You can install Plum using [Composer](http://getcomposer.org).

```
$ composer require cocur/plum:dev-master
```

Usage
-----

[](#usage)

Here is a quick preview, but please check out the [documentation](http://plum.readthedocs.org/en/latest/).

```
use Cocur\Plum\Workflow;

$workflow = new Workflow();
$workflow->addFilter($filter)
         ->addConverter($converter)
         ->addWriter($writer);
$workflow->process($reader);
```

Change Log
----------

[](#change-log)

### Version 0.1.1 (15 December 2014)

[](#version-011-15-december-2014)

- Reduce required version of PropertyAccess to `2.4`

### Version 0.1 (10 December 2014)

[](#version-01-10-december-2014)

- Initial version

License
-------

[](#license)

The MIT license applies to cocur/plum. For the full copyright and license information, please view the LICENSE file distributed with this source code.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~3 days

Total

3

Last Release

4171d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cocur-plum/health.svg)

```
[![Health](https://phpackages.com/badges/cocur-plum/health.svg)](https://phpackages.com/packages/cocur-plum)
```

###  Alternatives

[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k152.1M2.8k](/packages/symfony-form)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k164.3M234](/packages/symfony-security-http)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[vich/uploader-bundle

Ease file uploads attached to entities

1.9k25.9M116](/packages/vich-uploader-bundle)

PHPackages © 2026

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