2017 © Pedro PelĆ”ez
 

library edge

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

image

apigee/edge

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  • Thursday, May 10, 2018
  • by ossobuffo
  • Repository
  • 27 Watchers
  • 9 Stars
  • 1,530 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 11 Open issues
  • 39 Versions
  • 0 % Grown

The README.md

The 2.x version has moved

The newer 2.x version of this library has been released and is now available as Apigee Edge Client Library for PHP. This library is now in maintenance mode and is only accepting major bug fixes., (*1)

How to use the Apigee Edge PHP SDK

The Apigee Edge Management PHP SDK makes it easy to write PHP modules that use the Apigee Edge management API. By using the Management PHP SDK, you can communicate with Apigee Edge to manage developers, apps, roles, and permissions in the same way as the Apigee Developer Services portal., (*2)

Prerequisites and Installation Requirements

PHP Requirements

The Edge PHP SDK has the following prerequisites:, (*3)

  • PHP 7.1 or greater. This is required due to the SDK’s use of PHP namespaces and closures, and finally block.
  • JSON support built into PHP. This is enabled in almost all default builds of PHP. Certain Linux distributions (such as Debian) may ship with JSON-C instead of the standard JSON, due to licensing restrictions; this is also acceptable.
  • CURL support built into PHP.
  • Composer, https://getcomposer.org/, should be installed and in your path.

Installation of Dependencies

As part of a Composer-based project

If your project is itself based on Composer, simply add ā€œapigee/edgeā€ to your project’s composer.json file and run composer install --no-dev. This should install the Edge PHP SDK as well as all its dependencies into your project’s vendor dir, and it will integrate them all with your project’s class autoloader. If you want to run the SDK’s unit tests, you should omit the --no-dev option., (*4)

Using Composer, but not as part of a Composer-based project

If you have installed Composer but choose not to use it to manage your project, you may register the Edge SDK and its dependencies as follows:, (*5)

$ cd path/to/edge-sdk
$ composer install --no-dev

This will download and install all the dependencies. You will need to include path/to/edge-sdk/vendor/autoload.php in order to reap the benefits of having all your classes autoloaded., (*6)

Without Composer

Installation without Composer is no longer supported., (*7)

Connecting to the Edge server

The core object used to configure your connection to Edge is Apigee\Util\OrgConfig. You can create one as follows:, (*8)

<?php
// Your organization name
$org = 'my-org';
// API endpoint in Apigee’s cloud
$endpoint = 'https://api.enterprise.apigee.com/v1';
// Authenticated user for this organization.
// This user should have the ā€˜devadmin’ (or ā€˜orgadmin’) role on Edge.
$user = 'poweruser@example.com';
// Password for the above user
$pass = 'i<3apis';
// An array of other connection options
$options = array(
  'http_options' => array(
    'connection_timeout' => 4,
    'timeout' => 4
  )
);

$org_config = new Apigee\Util\OrgConfig($org, $endpoint, $user, $pass, $options);

Once you have created an OrgConfig object, you can pass it in the constructor to other objects:, (*9)

<?php
$developer = new Apigee\ManagementAPI\Developer($org_config);
try {
  $developer->load('user@example.com');
  $developer->setFirstName('John');
  $developer->setLastName('Doe');
  $developer->save();
  print "Developer updated!\n";
}
catch (Apigee\Exceptions\ResponseException $e) {
  print $e->getMessage();
}

$app = new Apigee\ManagementAPI\DeveloperApp($org_config, $developer->getEmail());
try {
  $app_list = $app->getListDetail();
  foreach ($app_list as $my_app) {
    print $my_app->getName() . "\n";
  }
}
catch (Apigee\Exceptions\ResponseException $e) {
  print $e->getMessage();
}

The Versions

10/05 2018

dev-master

9999999-dev http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

24/04 2018

dev-drups-25

dev-drups-25 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

19/04 2018

dev-company-1

dev-company-1 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

19/12 2017

1.1.18

1.1.18.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

13/11 2017

dev-bug/3540

dev-bug/3540 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

11/10 2017

1.1.17

1.1.17.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

17/08 2017

1.1.16

1.1.16.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

07/08 2017

1.1.15

1.1.15.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

03/07 2017

dev-opdk-saml

dev-opdk-saml http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

09/06 2017

1.1.14

1.1.14.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

04/04 2017

1.1.13

1.1.13.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

23/03 2017

1.1.12

1.1.12.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

23/01 2017

1.1.11

1.1.11.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

20/01 2017

1.1.10

1.1.10.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

24/11 2016

1.1.9

1.1.9.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

14/10 2016

1.1.8

1.1.8.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

13/09 2016

1.1.7

1.1.7.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

10/05 2016

1.1.6

1.1.6.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

12/02 2016

1.1.5

1.1.5.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

11/12 2015

1.1.4

1.1.4.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

13/11 2015

1.1.x-dev

1.1.9999999.9999999-dev http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

10/06 2015

1.1.3

1.1.3.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

28/05 2015

1.1.2

1.1.2.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

13/05 2015

1.1.1

1.1.1.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

14/04 2015

1.1.0

1.1.0.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

14/04 2015

1.0.8

1.0.8.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

19/09 2014

1.0.6

1.0.6.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

03/09 2014

1.0.5

1.0.5.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

15/07 2014

1.0.4

1.0.4.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

28/05 2014

1.0.3

1.0.3.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

13/05 2014

1.0.2

1.0.2.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

08/05 2014

1.0.1

1.0.1.0 http://github.com/apigee/edge-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service

14/03 2014

1.0.0

1.0.0.0 http://github.com/apigee/mgmt-api-php-sdk

Apigee Edge API is a set of objects that communicate with Apigee's Edge management server via REST calls to manage developers, apps, and other entities.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl rest http web service