2017 © Pedro Peláez
 

sdk php-sdk

PHP SDK for the PushPress API

image

pushpress/php-sdk

PHP SDK for the PushPress API

  • Thursday, July 26, 2018
  • by duyemura
  • Repository
  • 3 Watchers
  • 0 Stars
  • 651 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 2 % Grown

The README.md

php-sdk

PHP SDK For Use with PushPress.com, (*1)

Installation

The API client can be installed via Composer., (*2)

In your composer.json file:, (*3)

{
    "require": {
      "pushpress/php-sdk": "dev-master",
    }
}

Once the composer.json file is created you can run composer install for the initial package install and composer update to update to the latest version of the API client., (*4)

The client uses Guzzle., (*5)

Basic Usage

Remember to include the Composer autoloader in your application:, (*6)


Configure your access credentials when creating a client:, (*7)

<?php
PushpressApi::setApiKey(YOUR_API_PUBLIC_KEY);        
?>

Sample Code

Selecting All Active Plans, (*8)

<?php
$plans = Pushpress_Plan::all(array("order_by" => "name", "active"=>1));
?>

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*9)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*10)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*11)

The Versions

26/07 2018

dev-master

9999999-dev https://github.com/pushpress/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

16/04 2018

1.04

1.04.0.0 https://github.com/pushpress/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

05/04 2018

dev-development

dev-development https://github.com/pushpress/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

05/04 2018

1.03

1.03.0.0 https://github.com/pushpress/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

20/11 2014

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/pushpress-com/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

20/11 2014

1.0.1

1.0.1.0 https://github.com/pushpress-com/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

20/11 2014

1.0.2

1.0.2.0 https://github.com/pushpress-com/php-sdk

PHP SDK for the PushPress API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

11/11 2014

1.0.0

1.0.0.0

PHP SDK for the PushPress API

  Sources   Download

The Requires

  • php >=5.3.0