2017 © Pedro Peláez
 

library irradiate

Database wizardry on top of Laravel excellence.

image

bogdanghervan/irradiate

Database wizardry on top of Laravel excellence.

  • Saturday, March 31, 2018
  • by bogdanghervan
  • Repository
  • 2 Watchers
  • 2 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 23 % Grown

The README.md

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)., (*1)

Features

Bulk insert or update

This is achieved using INSERT ... ON DUPLICATE KEY UPDATE for MySQL and INSERT ... ON CONFLICT DO UPDATE for SQLite., (*2)

Buffered inserts

A service is provided that collects data in memory and flushes it to database when a threshold is reached., (*3)

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

Simply run this from the root of your Laravel project:, (*4)

composer require bogdanghervan/irradiate

Compatibility

This package supports Laravel 6, 7, 8, 9, 10, 11, and 12., (*5)

Configuration

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

'Irradiate\Database\DatabaseServiceProvider',

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

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., (*8)

You're good to go!, (*9)

Limitations

MySQL and SQLite only., (*10)

Contributing

Pull requests are welcome. All contributions should follow the PSR-2 coding standard., (*11)

License

Irradiate is licensed under the MIT License., (*12)

The Versions

31/03 2018

dev-master

9999999-dev

Database wizardry on top of Laravel excellence.

  Sources   Download

MIT

The Requires

 

orm database laravel sql irradiate

19/07 2017

5.4.x-dev

5.4.9999999.9999999-dev

Database wizardry on top of Laravel excellence.

  Sources   Download

MIT

The Requires

 

orm database laravel sql irradiate

18/07 2017

v5.4.0

5.4.0.0

Database wizardry on top of Laravel excellence.

  Sources   Download

MIT

The Requires

 

orm database laravel sql irradiate

18/07 2017

5.0.x-dev

5.0.9999999.9999999-dev

Database wizardry on top of Laravel excellence.

  Sources   Download

MIT

The Requires

 

orm database laravel sql irradiate

18/07 2017

v5.0.0

5.0.0.0

Database wizardry on top of Laravel excellence.

  Sources   Download

MIT

The Requires

 

orm database laravel sql irradiate