Download the PHP package byerikas/eloquent-bigquery without Composer

On this page you can find all versions of the php package byerikas/eloquent-bigquery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package eloquent-bigquery

Eloquent BigQuery

tests Status Packagist Version GitHub License

Simple select SQL generator and query service in the syntax style of Laravel's Eloquent for Google BigQuery.

Usage

Queries can be built using the provided Builder facade:

And their SQL can be returned by using the toSQL method:

Executing the queries can be done using the QueryService facade:

Selecting predefined columns or aggregations on queries can be done using selectAggregations method:

Joins are supported using variuos join / queryJoin methods. Complex where / having statements are supported by passing a function to the first parameter of where / having methods:

Installation

The package can be installed using:

Configuration

Before usage it's recommended to define the default BigQuery client config in your AppServiceProvider.php:

As well as register any custom / complex select metrics or aggregations that you may be storing elsewhere:

the AggregationsRepository::from() method accepts array of arrays or a Collection of arrays, and must have the following structure:

keyword is used to get the metric, and as the metric's alias in SQL, and the value defines the actual SQL that is inserted.


All versions of eloquent-bigquery with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^12.0|^13.0
google/cloud-bigquery Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package byerikas/eloquent-bigquery contains the following files

Loading the files please wait ...