Download the PHP package kris-kuiper/igdbv4 without Composer

On this page you can find all versions of the php package kris-kuiper/igdbv4. 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 igdbv4

IGDB V4 PHP API

License Total Downloads

Introduction

This package is a PHP wrapper for the IGDB version 4 API for retrieving game information. It contains the following:


System Requirements

Requires PHP 8.0 or later; Using the latest PHP version whenever possible is recommended.


Installation

Run the following to install this package:


Authentication

To use the IGDB API you must have a Client ID and Access Token. Full information regarding acquiring these can be found at https://dev.twitch.tv/docs/authentication.

However, to get started immediately:

When you got the Client ID and Client Secret, you can use the Authentication class to get an access token.

Example retrieving the access token

Note: An access token is approximately valid for 60 days. It is recommended to save the access token and expiration time for later use, so there is no need to generate a new access token for every request.


Endpoints

Every endpoint listed can be request by calling the endpoints name and has the following methods:

Only the game, platform, collection, character and theme endpoints supports also the search() method.

Below is a list of the supported endpoints.

Age rating content description Game Platform family
Age rating Game engine Platform logo
Alternative name Game engine logo Platform version company
Artwork Game mode Platform version
Character Game version Platform version release date
Character mug shot Game version feature Platform website
Collection Game version feature value Player perspective
Company Game video Screenshot
Company logo Genre Search
Company website Involved company Theme
Cover Keyword Website
External game Multiplayer mode
Franchise Platform

Example fetching game(s), platform(s) and genre(s):

Note: All the listed endpoints are available through the IGDB class.


Advanced Query Builder

The query builder lets you programmatically create queries which you can use for each endpoint calling the query() method.

It contains the following methods:

Example using the query builder with the "games" endpoint

Examples using the query builder

Query builder advanced where conditions


Run Unit Test

Install phpunit in your environment and run:


Questions and Feedback

Questions that are not addressed in the manual should be directed to the relevant repository, as linked above.

If you find code in this release behaving in an unexpected manner or contrary to its documented behavior, please create an issue with the relevant repository, as linked above.


License

You can find a copy of this license in LICENSE.md.


All versions of igdbv4 with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
guzzlehttp/guzzle Version ^7.3.0
psr/http-message Version ^2.0
beberlei/assert Version ^3.3
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 kris-kuiper/igdbv4 contains the following files

Loading the files please wait ....