PHPackages                             ccmbenchmark/bigquery-bundle - 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. [API Development](/categories/api)
4. /
5. ccmbenchmark/bigquery-bundle

ActiveSymfony-bundle[API Development](/categories/api)

ccmbenchmark/bigquery-bundle
============================

Batch upload data to Google bigquery with Symfony

1.1.3(2y ago)08.2k↓50%MITPHPPHP &gt;=7.1

Since Apr 24Pushed 2y ago4 watchersCompare

[ Source](https://github.com/ccmbenchmark/bigquery-bundle)[ Packagist](https://packagist.org/packages/ccmbenchmark/bigquery-bundle)[ RSS](/packages/ccmbenchmark-bigquery-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (13)Used By (0)

BigQuery Bundle
===============

[](#bigquery-bundle)

This bundle offers a simple method to batch upload data to Google bigquery.

Concept
-------

[](#concept)

3 concepts are useful to work with this bundle:

### Entities

[](#entities)

An entity is any object implementing `\CCMBenchmark\BigQueryBundle\BigQuery\Entity\RowInterface`. This interface extends JsonSerializable to handle the export to bigquery. An entity is coupled to a metadata object.

### Metadata

[](#metadata)

Metadata are responsible to store the schema related to your entity and other information used to store data into bigquery. A metadata is a class implementing `\CCMBenchmark\BigQueryBundle\BigQuery\MetadataInterface`.

### UnitOfWork

[](#unitofwork)

The UnitOfWork is provided by the bundle. It's responsible to store the data and then to upload it to bigquery.

### Full example

[](#full-example)

```
