2017 © Pedro Peláez
 

library fire-and-forget

A simple PHP library to just fire off an HTTP request and forget about it

image

aura-is-here/fire-and-forget

A simple PHP library to just fire off an HTTP request and forget about it

  • Thursday, February 4, 2016
  • by HipsterJazzbo
  • Repository
  • 5 Watchers
  • 0 Stars
  • 3,193 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

FireAndForget

A simple PHP library to just fire off an HTTP request and forget about it, (*1)

Installation

To get started, require this package in your composer.json and run composer update:, (*2)

"hipsterjazzbo/fire-and-forget": "0.1.*"

If you're using Laravel

After updating composer, add the ServiceProvider to the providers array in app/config/app.php:, (*3)

'HipsterJazzbo\FireAndForget\FireAndForgetServiceProvider',

You'll probably want to set up the alias:, (*4)

'FireAndForget' => 'HipsterJazzbo\FireAndForget\Facades\FireAndForgetFacade'

You could also publish the config file:, (*5)

php artisan config:publish hipsterjazzbo/fire-and-forget

Usage

Just call one of the methods (get, post, put, delete) and get on with your life. FireAndForget will compile the request, open a socket, fire the request and immediately close and return., (*6)

Note All the methods have the same signature., (*7)

// You can define a connection timeout, the default is 5
$connectionTimeout = 5;

$faf = new FireAndForget($connectionTimeout);
$faf->post($url, $params);

Or, if you're using Laravel,, (*8)

FireAndForget::post($url, $params);

The Versions

04/02 2016

dev-master

9999999-dev

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

09/12 2015

0.1.6

0.1.6.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

09/12 2015

0.1.5

0.1.5.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

09/12 2015

0.1.4

0.1.4.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

30/01 2015

0.1.3

0.1.3.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

19/01 2015

0.1.2

0.1.2.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

05/11 2014

0.1.1

0.1.1.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro

05/11 2014

0.1.0

0.1.0.0

A simple PHP library to just fire off an HTTP request and forget about it

  Sources   Download

MIT

The Requires

 

by Caleb Fidecaro