PHPackages                             denis-kisel/batch-update - 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. denis-kisel/batch-update

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

denis-kisel/batch-update
========================

Batch Update

v1.0.0(3y ago)0281MITPHP

Since Jun 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/denis-kisel/batch-update)[ Packagist](https://packagist.org/packages/denis-kisel/batch-update)[ RSS](/packages/denis-kisel-batch-update/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

Update Batch
============

[](#update-batch)

Update batch rows in one query!

### Support

[](#support)

`laravel`

### Install

[](#install)

```
composer require denis-kisel/batch-update

```

Base Usage

```
(new UpdateBatch('table_name', $batchArrayData))->run();

# Specify primary key
(new UpdateBatch('table_name', $batchArrayData, 'primary_key'))->run();

# Add filter where
(new UpdateBatch('table_name', $batchArrayData, 'primary_key'))
    ->where('type', '=', $this->tmpOfferType)
    ->run();

# Support where
(new UpdateBatch('table_name', $batchArrayData, 'primary_key'))
    ->where('type', '=', $this->tmpOfferType)
    ->run();

# Support whereIn
(new UpdateBatch('table_name', $batchArrayData, 'primary_key'))
    ->whereIn('id', [1, 2, 3])
    ->run();

# Another methods
(new UpdateBatch('table_name'))
    ->multipleData($batchDataToUpdate)
    ->referenceColumn('primary_id')
    ->run();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1429d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b9b00b6d5b5f8de8f20a5e39e9e4a6caef51a637ad8a047787a6442b9278ef?d=identicon)[denis-kisel](/maintainers/denis-kisel)

---

Top Contributors

[![den-is-ua](https://avatars.githubusercontent.com/u/235117855?v=4)](https://github.com/den-is-ua "den-is-ua (4 commits)")

---

Tags

batchlaravelmultimysqlphpupdate

### Embed Badge

![Health badge](/badges/denis-kisel-batch-update/health.svg)

```
[![Health](https://phpackages.com/badges/denis-kisel-batch-update/health.svg)](https://phpackages.com/packages/denis-kisel-batch-update)
```

###  Alternatives

[petrabarus/yii2-googleplacesautocomplete

Google Places Auto Complete input widget for Yii2

106.4k](/packages/petrabarus-yii2-googleplacesautocomplete)

PHPackages © 2026

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