PHPackages                             renedekat/laravel-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. renedekat/laravel-bigquery

ActiveLibrary

renedekat/laravel-bigquery
==========================

2.0.1(8y ago)0465MITPHPPHP ^7.0

Since Jul 31Pushed 8y agoCompare

[ Source](https://github.com/renedekat/laravel-bigquery)[ Packagist](https://packagist.org/packages/renedekat/laravel-bigquery)[ Docs](https://github.com/renedekat/laravel-bigquery)[ RSS](/packages/renedekat-laravel-bigquery/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (6)Versions (6)Used By (0)

Laravel BigQuery
================

[](#laravel-bigquery)

[![Latest Version](https://camo.githubusercontent.com/6a3b2458444bb73424a2c5822e51257f8281a21502fdd2416d0ca28e5edc98a1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736368756c7a6566656c69782f6c61726176656c2d62696771756572792e7376673f7374796c653d666c61742d737175617265)](https://github.com/schulzefelix/laravel-bigquery/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7bb94fa72bcf77b95c7c3ac3b52a803528f485249478081e31fa59468a9a173c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736368756c7a6566656c69782f6c61726176656c2d62696771756572792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/schulzefelix/laravel-bigquery)[![Quality Score](https://camo.githubusercontent.com/7a029b82ea5c750af7089d3462584a315579450215626072d4d938747691e4e4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736368756c7a6566656c69782f6c61726176656c2d62696771756572792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/schulzefelix/laravel-bigquery)[![StyleCI](https://camo.githubusercontent.com/4019923b28522a226c5ddea41fe8e6d8a82769cf47ada32b1eb2a7cd222be62f/68747470733a2f2f7374796c6563692e696f2f7265706f732f39383631353738382f736869656c64)](https://styleci.io/repos/98615788)[![Latest Version on Packagist](https://camo.githubusercontent.com/57ac2b53ca56358cad4ca90ed19e784ee6e165862954ffa699e31b628486f380/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736368756c7a6566656c69782f6c61726176656c2d62696771756572792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schulzefelix/laravel-bigquery)[![Total Downloads](https://camo.githubusercontent.com/bf8c49436121496de3f92e6e5f8fb70e2aeed876ba78e43ff9cefde4f62195c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736368756c7a6566656c69782f6c61726176656c2d62696771756572792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schulzefelix/laravel-bigquery)

Using this package you can easily interact with the Google BigQuery API.

Install
-------

[](#install)

This package can be installed through Composer.

```
$ composer require renedekat/laravel-bigquery
```

In Laravel 5.5 the package will autoregister the service provider. In Laravel 5.4 you must install this service provider.

```
// config/app.php
'providers' => [
    ...
    ReneDeKat\BigQuery\BigQueryServiceProvider::class,
    ...
];
```

In Laravel 5.5 the package will autoregister the facade. In Laravel 5.4 you must install the facade manually.

```
// config/app.php
'aliases' => [
    ...
    'BigQuery' => ReneDeKat\BigQuery\BigQueryFacade::class,
    ...
];
```

Optionally, you can publish the config file of this package with this command:

```
php artisan vendor:publish --provider="ReneDeKat\BigQuery\BigQueryServiceProvider"
```

The following config file will be published in `config/bigquery.php`

```
return [

    /*
    |--------------------------------------------------------------------------
    | Application Credentials
    |--------------------------------------------------------------------------
    |
    | Path to the Service Account Credentials JSON File
    |
    | https://googlecloudplatform.github.io/google-cloud-php/#/docs/google-cloud/v0.35.0/guides/authentication
    |
    */

    'application_credentials' => env('GOOGLE_CLOUD_APPLICATION_CREDENTIALS'),

    /*
    |--------------------------------------------------------------------------
    | Project ID
    |--------------------------------------------------------------------------
    |
    | The Project Name is a user-friendly name,
    | while the Project ID is required by the Google Cloud client libraries to authenticate API requests.
    |
    */

    'project_id' => env('GOOGLE_CLOUD_PROJECT_ID'),

    /*
    |--------------------------------------------------------------------------
    | Client Auth Cache Store
    |--------------------------------------------------------------------------
    |
    | This option controls the auth cache connection that gets used.
    |
    | Supported: "apc", "array", "database", "file", "memcached", "redis"
    |
    */

    'auth_cache_store' => 'file',

    /*
    |--------------------------------------------------------------------------
    | Client Options
    |--------------------------------------------------------------------------
    |
    | Here you may configure additional parameters that
    | the underlying BigQueryClient will use.
    |
    | Optional parameters: "authCacheOptions", "authHttpHandler", "httpHandler", "retries", "scopes", "returnInt64AsObject"
    */

    'client_options' => [
        'retries' => 3, // Default
    ],
];
```

Usage
-----

[](#usage)

This package just initialize the BigQuery connection, you can use every method like in Google's API. You can use the provided Facade or retrieve the it from the IoC Container.

```
BigQuery::apiMethod();

app('bigquery')->apiMethod();
```

Here are two basic example to create a dataset and check for existence of a table

### Create Dataset

[](#create-dataset)

```
$dataset = BigQuery::createDataset('myNewDataSet');
```

### Check Existence Of A Table

[](#check-existence-of-a-table)

```
BigQuery::dataset(myNewDataSet)->table('aTable')->exists());
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Felix Schulze](https://github.com/schulzefelix)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~33 days

Total

5

Last Release

3073d ago

Major Versions

0.1.0 → 1.0.02017-10-06

1.0.0 → 2.0.02017-12-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/b221ce3ee2d7e7383ec72b423ef964918f62e43f55e0ea74271dddc1e695249a?d=identicon)[renedekat](/maintainers/renedekat)

---

Top Contributors

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

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/renedekat-laravel-bigquery/health.svg)

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

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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