PHPackages                             nextpertise/pdo-bulk - 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. nextpertise/pdo-bulk

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

nextpertise/pdo-bulk
====================

A PHP Pdo insert wrapper which allows you to bulk insert records wich contain subqueries.

138PHP

Since Mar 1Pushed 8y ago5 watchersCompare

[ Source](https://github.com/Nextpertise/PdoBulk)[ Packagist](https://packagist.org/packages/nextpertise/pdo-bulk)[ RSS](/packages/nextpertise-pdo-bulk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PdoBulk - A PHP Pdo insert wrapper
==================================

[](#pdobulk---a-php-pdo-insert-wrapper)

[![Build Status](https://camo.githubusercontent.com/a0013ff76b6abd791573a6aa522797ac3e1691461b34c11499a2f0699e97dfa5/68747470733a2f2f7472617669732d63692e6f72672f4e657874706572746973652f50646f42756c6b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Nextpertise/PdoBulk)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4a23bd46b2a47b0949fecd83eeb642029f6aa1fa76e2f0b667fcdfd4009b4a5d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4e657874706572746973652f50646f42756c6b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Nextpertise/PdoBulk/?branch=master)

Simple PHP helper class for working with bulk sets of data which needs to be imported in the database.

Installing
----------

[](#installing)

The easiest way to install **PdoBulk** is to use [Composer](http://getcomposer.org/download/), the awesome dependency manager for PHP. Once Composer is installed, run `composer.phar require nextpertise/pdo-bulk:dev-master` and composer will do all the hard work for you.

Usage
-----

[](#usage)

If you are using the autoloader in Composer (or your framework ties into it), then all you need to do is add a `use PdoBulk\PdoBulk;` statement at the top of each file you wish to use **PdoBulk** in and use it like a normal class:

```
