PHPackages                             bogdanghervan/irradiate - 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. bogdanghervan/irradiate

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

bogdanghervan/irradiate
=======================

Database wizardry on top of Laravel excellence.

7.1.0(1y ago)26.5k1MITPHPPHP ^7.2|^8.0

Since Jul 18Pushed 1y ago2 watchersCompare

[ Source](https://github.com/bogdanghervan/irradiate)[ Packagist](https://packagist.org/packages/bogdanghervan/irradiate)[ RSS](/packages/bogdanghervan-irradiate/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (13)Used By (0)

Laravel Irradiate
=================

[](#laravel-irradiate)

Database wizardry on top of Laravel excellence. This package comes with some goodies to work with data in bulk in Laravel, however it is incomplete since it only implements the MySQL and SQLite grammars ([contribute](#contributing)).

Features
--------

[](#features)

### Bulk insert or update

[](#bulk-insert-or-update)

This is achieved using `INSERT ... ON DUPLICATE KEY UPDATE` for MySQL and `INSERT ... ON CONFLICT DO UPDATE` for SQLite.

### Buffered inserts

[](#buffered-inserts)

A service is provided that collects data in memory and flushes it to database when a threshold is reached.

### Legacy features

[](#legacy-features)

- Chunk results and use limit at the same time
- (MySQL only) Retry starting database transaction when connection is lost (no longer necessary in newer Laravel versions)

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

[](#installation)

Simply run this from the root of your Laravel project:

```
composer require bogdanghervan/irradiate

```

Compatibility
-------------

[](#compatibility)

This package supports Laravel 6, 7, 8, 9, 10, 11, and 12.

Configuration
-------------

[](#configuration)

To start using the package within Laravel, add this to the list of providers in `config/app.php`:

```
'Irradiate\Database\DatabaseServiceProvider',

```

Or, for Laravel 5.5 and above (including Laravel 12), the package will be auto-discovered.

Additionally, all the models should inherit from `\Irradiate\Database\Eloquent\Model`. Ideally there should already be a generic base model at the application level that all concrete models extend from, so make that extend the base model within Irradiate.

You're good to go!

Limitations
-----------

[](#limitations)

MySQL and SQLite only.

Contributing
------------

[](#contributing)

Pull requests are welcome. All contributions should follow the PSR-2 coding standard.

License
-------

[](#license)

Irradiate is licensed under the [MIT License](https://github.com/bogdanghervan/irradiate/blob/master/LICENSE).

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance48

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 65.4% 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 ~262 days

Recently: every ~279 days

Total

12

Last Release

383d ago

Major Versions

v5.4.1 → 6.02020-09-17

6.1.1 → 7.02025-04-28

PHP version history (4 changes)v5.0.0PHP &gt;=5.4.0

v5.4.0PHP &gt;=5.6.4

6.0PHP ^7.2

6.x-devPHP ^7.2|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/585130?v=4)[Bogdan Ghervan](/maintainers/bogdanghervan)[@bogdanghervan](https://github.com/bogdanghervan)

---

Top Contributors

[![bogdanghervan](https://avatars.githubusercontent.com/u/585130?v=4)](https://github.com/bogdanghervan "bogdanghervan (17 commits)")[![petcumihai](https://avatars.githubusercontent.com/u/36764266?v=4)](https://github.com/petcumihai "petcumihai (4 commits)")[![adrianmihaila](https://avatars.githubusercontent.com/u/15153934?v=4)](https://github.com/adrianmihaila "adrianmihaila (2 commits)")[![andreipetcu](https://avatars.githubusercontent.com/u/1076268?v=4)](https://github.com/andreipetcu "andreipetcu (1 commits)")[![florin-a](https://avatars.githubusercontent.com/u/92398153?v=4)](https://github.com/florin-a "florin-a (1 commits)")[![razvand-am](https://avatars.githubusercontent.com/u/141113998?v=4)](https://github.com/razvand-am "razvand-am (1 commits)")

---

Tags

laraveldatabaseormsqlirradiate

### Embed Badge

![Health badge](/badges/bogdanghervan-irradiate/health.svg)

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

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k54.1M11.2k](/packages/illuminate-database)[dbout/wp-orm

WordPress ORM with Eloquent.

12910.2k1](/packages/dbout-wp-orm)[as247/wp-eloquent

Eloquent ORM for wordpress.

4425.3k1](/packages/as247-wp-eloquent)[bigsinoos/j-eloquent

Convert eloquent date attributes to jalali (Persian) dates on the fly. (supports model propery access, toJson, toString and toArray).

214.7k](/packages/bigsinoos-j-eloquent)[calebdw/laravel-sql-entities

Manage SQL entities in Laravel with ease.

311.5k](/packages/calebdw-laravel-sql-entities)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

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