Download the PHP package kly-infeed/gam without Composer

On this page you can find all versions of the php package kly-infeed/gam. 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 gam

InFeed - Google AdManager

Installation

To get started, install Infeed Google AdManager via the Composer package manager: Add Infeed Google AdManager to your composer.json file.

Or with composer command:

Add provider to your app/config/app.php providers

Publish config

Add alias to app/config/app.php aliases

Configuration

Before using Infeed Google AdManager, you will also need to add credentials for the OAuth services your application utilizes. These credentials should be placed in your config/infeed_gam.php configuration file, and should use the client_id, client_secret, redirect on the providers your application requires. For example:

Routing

Next, you are ready to authenticate app! You will need two routes: one for redirecting the user to the OAuth provider, and another for receiving the callback from Infeed Google AdManager after authentication. We will access Infeed Google AdManager using the GAM facade:

The redirect method takes care of sending the user to the OAuth provider, while the user method will read the incoming request and retrieve the user's information from Infeed Google AdManager.

You will need to define routes to your controller methods:

Response Request Access Token

When you get an access token, you should save it in the config/infeed_gam.php configuration file, because it avoids asking token access requests too often. By default Access token will expire in a year, but in our system will automatically refresh the token

RESTfulness

The Infeed API follows the more standard REST convention of utilizing the HTTP response codes to identify the status of the response. These include, but are not limited to:

GET requests will return data, POST requests are for creation, PATCH requests are for modification and DELETE requests are for removal.

Get User

Get current user

Network

Get current network


All versions of gam with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version 6.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 kly-infeed/gam contains the following files

Loading the files please wait ....