PHPackages                             triwinvendor/google-bigquery - 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. triwinvendor/google-bigquery

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

triwinvendor/google-bigquery
============================

BigQuery Client for PHP

1.0.0(3y ago)05Apache-2.0PHP

Since Oct 13Pushed 3y agoCompare

[ Source](https://github.com/TriwinVendor/google-bigquery)[ Packagist](https://packagist.org/packages/triwinvendor/google-bigquery)[ RSS](/packages/triwinvendor-google-bigquery/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Google BigQuery for PHP
=======================

[](#google-bigquery-for-php)

> Idiomatic PHP client for [Google BigQuery](https://cloud.google.com/bigquery/).

[![Latest Stable Version](https://camo.githubusercontent.com/b6ad08a8a82d472f0c11d83ccac85ddddfbaa63bf69b01fc476dfc606f23edcd/68747470733a2f2f706f7365722e707567782e6f72672f676f6f676c652f636c6f75642d62696771756572792f762f737461626c65)](https://packagist.org/packages/google/cloud-bigquery) [![Packagist](https://camo.githubusercontent.com/02a793271e59dbc9e97e27b7f777ad4348719a0a8561be66cf96154c680d0d4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f676f6f676c652f636c6f75642d62696771756572792e737667)](https://packagist.org/packages/google/cloud-bigquery)

- [API Documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-bigquery/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any support requests, bug reports, or development contributions should be directed to that project.

Allows you to create, manage, share and query data.

### Installation

[](#installation)

To begin, install the preferred dependency manager for PHP, [Composer](https://getcomposer.org/).

Now to install just this component:

```
$ composer require google/cloud-bigquery
```

Or to install the entire suite of components at once:

```
$ composer require google/cloud
```

### Authentication

[](#authentication)

Please see our [Authentication guide](https://github.com/googleapis/google-cloud-php/blob/master/AUTHENTICATION.md) for more information on authenticating your client. Once authenticated, you'll be ready to start making requests.

### Sample

[](#sample)

```
require 'vendor/autoload.php';

use Google\Cloud\BigQuery\BigQueryClient;

$bigQuery = new BigQueryClient();

// Get an instance of a previously created table.
$dataset = $bigQuery->dataset('my_dataset');
$table = $dataset->table('my_table');

// Begin a job to import data from a CSV file into the table.
$loadJobConfig = $table->load(
    fopen('/data/my_data.csv', 'r')
);
$job = $table->runJob($loadJobConfig);

// Run a query and inspect the results.
$queryJobConfig = $bigQuery->query(
    'SELECT * FROM `my_project.my_dataset.my_table`'
);
$queryResults = $bigQuery->runQuery($queryJobConfig);

foreach ($queryResults as $row) {
    print_r($row);
}
```

### Version

[](#version)

This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in any minor or patch releases. We will address issues and requests with the highest priority.

### Next Steps

[](#next-steps)

1. Understand the [official documentation](https://cloud.google.com/bigquery/docs).
2. Take a look at [in-depth usage samples](https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigquery).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

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

1311d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80bd3956c4cc9bc2e115d3ad0f7cb8c548541969ccb16bd3082feec1cf56e756?d=identicon)[yu](/maintainers/yu)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/triwinvendor-google-bigquery/health.svg)

```
[![Health](https://phpackages.com/badges/triwinvendor-google-bigquery/health.svg)](https://phpackages.com/packages/triwinvendor-google-bigquery)
```

###  Alternatives

[google/cloud-bigquery

BigQuery Client for PHP

8817.2M41](/packages/google-cloud-bigquery)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.1M11](/packages/bavix-laravel-wallet)[knplabs/doctrine-behaviors

Doctrine Behavior Traits

92212.7M64](/packages/knplabs-doctrine-behaviors)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)

PHPackages © 2026

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