2017 © Pedro Peláez
 

library zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

image

heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  • Wednesday, July 6, 2016
  • by heartsentwined
  • Repository
  • 1 Watchers
  • 2 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

zf2-browser

Build Status, (*1)

web browser with quick browse methods using zf2's HTTP Client and cURL, (*2)

Installation

Composer:, (*3)

{
  "require": {
    "yalesov/zf2-browser": "2.*"
  }
}

Copy config/browser.local.php.dist into (app root)/config/autoload/browser.local.php, and edit configs as described below., (*4)

Config

The browser alias can be changed to anything you like., (*5)

  • cookieDir: directory for storing cookies. Make sure you create this directory, and that it is writable by www-data (or whatever your PHP scripts run as); or at least that its parent directory is writable (the script will create this dir for you in this case).
  • cookieLife: lifetime for cookie files (minute)
  • connectTimeout: max time to wait when connecting (second)
  • options: wrapper for \Zend\Http\Client::setOptions()
  • headers: wrapper for \Zend\Http\Client::setHeaders()

Usage

Get a browser instance, (*6)

// $locator instanceof ServiceLocator
$browser = $locator->get('browser')->newInstance();

GET a page, (*7)

$responseBody = $browser->get('http://example.com');

POST to a page with param foo = bar, (*8)

$responseBody = $browser->post('http://example.com', array('foo' => 'bar'));

The Versions

06/07 2016

dev-master

9999999-dev https://github.com/yalesov/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

curl zf2 browser

06/07 2016

v2.1.3

2.1.3.0 https://github.com/yalesov/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

curl zf2 browser

06/07 2016

v2.1.2

2.1.2.0 https://github.com/yalesov/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

curl zf2 browser

06/07 2016

v2.1.1

2.1.1.0 https://github.com/yalesov/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

curl zf2 browser

05/07 2016

v2.1.0

2.1.0.0 https://github.com/yalesov/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

ISC

The Requires

 

by Yulij Andreevich Lesov

curl zf2 browser

05/07 2016

v2.0.0

2.0.0.0 https://github.com/yalesov/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

ISC

The Requires

 

by Yulij Andreevich Lesov

curl zf2 browser

17/10 2012

1.0.7

1.0.7.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

03/10 2012

1.0.6

1.0.6.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

28/09 2012

1.0.5

1.0.5.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

19/09 2012

1.0.4

1.0.4.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

17/09 2012

1.0.3

1.0.3.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

17/09 2012

1.0.2

1.0.2.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

17/09 2012

1.0.1

1.0.1.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser

06/09 2012

1.0.0

1.0.0.0 https://github.com/heartsentwined/zf2-browser

web browser with quick browse methods using zf2's HTTP Client and cURL

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

curl zf2 browser