2017 © Pedro Peláez
 

library php-http-client

HTTP REST client, simplified for PHP

image

mobtexting/php-http-client

HTTP REST client, simplified for PHP

  • Tuesday, May 8, 2018
  • by sankar.suda
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 200 % Grown

The README.md

MOBtexting Http Client

Installation

You can install the package via composer:, (*1)

``` bash composer require mobtexting/php-http-client, (*2)


## Usage ```php $token = 'xxxx'; $headers = ['Authorization: Bearer ' . $token]; $client = new Mobtexting\Client('https://api.example.com', $headers); $data = [ 'some' => 1, 'awesome' => 2, 'data' => 3 ]; $queryParams = [ 'hello' => 0, 'world' => 1 ]; $requestHeaders = [ 'X-Test' => 'test' ]; $response = $client->post($data, $queryParams, $requestHeaders); var_dump( $response->statusCode(), $response->headers(), $response->body() );

Security

If you discover any security related issues, please email support@mobtexting.com instead of using the issue tracker., (*3)

Contributing

Please see CONTRIBUTING for details., (*4)

License

The MIT License (MIT). Please see License File for more information., (*5)

The Versions

08/05 2018

dev-master

9999999-dev http://github.com/sendgrid/php-http-client

HTTP REST client, simplified for PHP

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Sankar suda

api rest http mobtexting

08/05 2018

v1.0

1.0.0.0 http://github.com/sendgrid/php-http-client

HTTP REST client, simplified for PHP

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Sankar suda

api rest http mobtexting