PHPackages                             bigin/shift - 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. bigin/shift

ActiveLibrary

bigin/shift
===========

1.0.5(5y ago)061AMLPHPCI failing

Since May 13Pushed 5y agoCompare

[ Source](https://github.com/biginvn/shift)[ Packagist](https://packagist.org/packages/bigin/shift)[ RSS](/packages/bigin-shift/feed)WikiDiscussions master Synced 1w ago

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

[![LARAVEL - SHIFT](https://github.com/biginvn/shift/raw/development/resources/images/logo.png)](https://github.com/biginvn/shift/blob/development/resources/images/logo.png) Shift Laravel
===========================================================================================================================================================================================

[](#-shift-laravel)

**Import Excel &amp; Mapping Datasource. A simple but elegant Laravel import process.**

Features
--------

[](#features)

- No need to maunally write mapping code, library has been supported mapping column with various type like One - One, Reference, Index table...
- Simple validation. We reuse the validation in Laravel make your task simpler.
- Easy to customize. Don't want to use built-in mapping? No problem, you can define your mapping way, just a few line of code.

### Simple Usage

[](#simple-usage)

```
use Bigin\Shift\Configuration\Configuration;
use Bigin\Shift\Instances\ColumnManager\ColumnDirectMapping;
use Bigin\Shift\Instances\ColumnManager\ColumnIndexMapping;
use Bigin\Shift\Instances\ColumnManager\ColumnRelativeMapping;
use Bigin\Shift\Instances\Validation\QuickValidation;
use Bigin\Shift\Operation\ImportFactory;

...

$colors = [
      'Red'   => 'Màu đỏ',
      'Yellow'    => 'Màu vàng',
      'Green'     => 'Xanh lá cây',
      'Blue'      => 'Xanh da trời',
      'Pink'      => 'Hồng'
  ];
  $columns = [
      new ColumnDirectMapping("STT", "id", new QuickValidation('numeric|required')),
      new ColumnDirectMapping("Name", "name", new QuickValidation('required')),
      new ColumnRelativeMapping("Category", "category_id",['table'=> 'categories', 'column' => 'name']),
      new ColumnIndexMapping("Color", "color", $colors),
  ];
  $config = new Configuration(base_path('packages/shift/test.xlsx'));
  $operation = new ImportFactory($config, $columns);
  $operation->getRowExecutor()->setUpdateExist(false);
  $operation->getRowExecutor()->setPrimaryInput('STT');
  $operation->getRowExecutor()->setTable('products');
  $operation->execute();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~63 days

Recently: every ~78 days

Total

6

Last Release

1880d ago

### Community

Maintainers

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

---

Top Contributors

[![minhshayne](https://avatars.githubusercontent.com/u/8945818?v=4)](https://github.com/minhshayne "minhshayne (14 commits)")[![minhtruong92](https://avatars.githubusercontent.com/u/29373028?v=4)](https://github.com/minhtruong92 "minhtruong92 (1 commits)")[![Nhat9893](https://avatars.githubusercontent.com/u/22763669?v=4)](https://github.com/Nhat9893 "Nhat9893 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bigin-shift/health.svg)

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

###  Alternatives

[mettle/sendportal-core

Sendportal core functionality.

30033.9k1](/packages/mettle-sendportal-core)[yajra/laravel-address

Philippines Address Lookup API for Laravel.

4015.8k](/packages/yajra-laravel-address)

PHPackages © 2026

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