PHPackages                             softmetrix/bulk-insert-builder - 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. [Database &amp; ORM](/categories/database)
4. /
5. softmetrix/bulk-insert-builder

ActiveLibrary[Database &amp; ORM](/categories/database)

softmetrix/bulk-insert-builder
==============================

Generates and executes bulk insert query. Adjustable bulk insert chunk size.

v0.1.0(6y ago)15MITPHP

Since Mar 1Pushed 6y ago2 watchersCompare

[ Source](https://github.com/softmetrix/BulkInsertBuilder)[ Packagist](https://packagist.org/packages/softmetrix/bulk-insert-builder)[ RSS](/packages/softmetrix-bulk-insert-builder/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

BulkInsertBuilder
-----------------

[](#bulkinsertbuilder)

#### Description

[](#description)

Generates and executes bulk insert query. Adjustable bulk insert chunk size.

#### Usage

[](#usage)

```
use Softmetrix\BulkInsertBuilder\BulkInsertBuilder;

$dsn = 'mysql:host=localhost;dbname=sampledb';
$username = 'dbusr1';
$password = 'dbpass123';
$table = 'inserttest';
$bulkInsertBuilder = new BulkInsertBuilder($dsn, $username, $password, $table);
$data = [];
for ($i = 0; $i < 5500; ++$i) {
    $data[] = [
        'field1' => rand(1, 1000),
        'field2' => rand(1, 1000),
        'field3' => rand(1, 1000),
    ];
}
$bulkInsertBuilder->bulkInsert($data);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

2269d ago

### Community

Maintainers

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

---

Top Contributors

[![mmedojevicbg](https://avatars.githubusercontent.com/u/1908699?v=4)](https://github.com/mmedojevicbg "mmedojevicbg (2 commits)")

### Embed Badge

![Health badge](/badges/softmetrix-bulk-insert-builder/health.svg)

```
[![Health](https://phpackages.com/badges/softmetrix-bulk-insert-builder/health.svg)](https://phpackages.com/packages/softmetrix-bulk-insert-builder)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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