Download the PHP package makinacorpus/goat-query without Composer

On this page you can find all versions of the php package makinacorpus/goat-query. 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 goat-query

Goat query builder

This is an SQL query builder built over a PHP to SQL and SQL to PHP type converter.

Working with PDO and ext-pgsql, with officially supported drivers:

Documentation is in the ./docs/ folder, generated using Sphinx.

Quickstart

Install it:

Create a connexion:

Or create a connexion the verbose way:

Please note that options given will be treated differently depending upon driver.

Then use it:

For advanced documentation, please see the ./docs/ folder.

Roadmap

Driver organisation

Driver instance is responsible of (in order):

It gets connexion option and configures it, then creates the platform.

Platform contains SQL version-specific code, such as query formatter, schema introspector, and other things the user cannot configure, and which may vary depending upon the SQL server version. It handles everything the user cannot have hands onto, but SQL server has.

Runner is the only runtime object the user needs:

It contains user configuration and runtime. The runner knows nothing about SQL itself, it just holds a connexion, send requests, and handles iterators and transactions.

In other words:

Framework integration

Upgrade

Upgrade from 2.x to 3.x

Upgrade from 1.x to 2.x

This also introduce a dependency conflict between makinacorpus/goat version prior to 3.0.0 version, if you were using it, you need to upgrade.

Query builder, database runner and result iterator end-user API did not change.

History

Originating and extracted from https://github.com/pounard/goat


All versions of goat-query with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
makinacorpus/profiling Version ^1.1.0 || ^2.0.1
psr/log Version ^1.1 || ^2
symfony/polyfill-php80 Version ^1.24
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 makinacorpus/goat-query contains the following files

Loading the files please wait ....