PHPackages                             lokal/processor - 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. lokal/processor

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

lokal/processor
===============

Lokal Koder Processor

1.0(1y ago)085↓83.3%MITPHPPHP ^8.2CI passing

Since May 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lokalkoder/processor)[ Packagist](https://packagist.org/packages/lokal/processor)[ RSS](/packages/lokal-processor/feed)WikiDiscussions 1.x Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

Lokal Processor
===============

[](#lokal-processor)

Supporting package for lokalkoder development environment.

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

[](#installation)

Install this project with composer

```
  composer require lokal/processor
```

Usage/Examples
--------------

[](#usageexamples)

Define data mapping by extending `\Lokal\Processor\Action\Parameter` class

```
class Parameter extends \Lokal\Processor\Action\Parameter
{
    /**
     * {@inheritDoc}
     */
    public function mapping(): array
    {
        return [
            'name' => 'name',
            'address' => 'address',
            'status' => 'status',
            'rental' => 'rental_term',
            'tag' => 'tags',
            'latitude' => 'latitude',
            'longitude' => 'longitude',
        ];
    }
}

```

Define method of processing by extending `\Lokal\Processor\Action\Processor` class

```
class RepositoryProcessor extends Lokal\Processor\Action\Processor
{
    /**
     * {@inheritDoc}
     */
    protected function saving(array $parameters, mixed $identity = null): mixed
    {
        // Define processing method here
    }

}

```

Execute the processor using `Lokal\Processor\Manager\Action` class

```
(new Lokal\Processor\Manager\Action(
    new Parameter($request->input()),
    new Processor
))->process()

```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance45

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

424d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6141029?v=4)[AHMED JOHARI BIN JUMALI](/maintainers/joesama)[@joesama](https://github.com/joesama)

---

Top Contributors

[![joesama](https://avatars.githubusercontent.com/u/6141029?v=4)](https://github.com/joesama "joesama (14 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/lokal-processor/health.svg)

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

###  Alternatives

[rockettheme/toolbox

RocketTheme Toolbox Library

22540.5k5](/packages/rockettheme-toolbox)[steevanb/php-typed-array

Add IntCollection, StringCollection, ObjectCollection etc.

16172.1k2](/packages/steevanb-php-typed-array)[microcmsio/microcms-php-sdk

microCMS PHP SDK

18115.0k](/packages/microcmsio-microcms-php-sdk)

PHPackages © 2026

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