Download the PHP package klaude/foaas without Composer
On this page you can find all versions of the php package klaude/foaas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package foaas
Short Description A Fuck Off As A Service client.
License MIT
Homepage https://github.com/klaude/foaas-php
Informations about the package foaas
Call Fuck Off As A Service in PHP
Were you looking to leverage the cloud to tell someone to fuck themselves? Do you need to do it from PHP? Well fuck me! Look no further!
This library automates calls to FOAAS (which is probably the best web service ever). I make no claims of ownership of FOAAS or to it's availability. What the fuck do you want from me?
Installation
Use Composer!
Run composer require klaude/foaas
then add require_once __DIR__ . '/vendor/autoload.php';
(replacing __DIR__
with wherever your project's root is if you need to) to the beginning of your fucking script, then boom!
Usage
It's easy as fuck. Just make a Foaas\Foaas
object and fucking go nuts.
You get the idea! There are way more fucks available to give that should auto-complete in your fancypants IDE.
FOAAS responses are kept in a Foaas\Response
object so you can access FOAAS' message and subtitle directly. Or you can fucking echo the response as a string if that's what floats your fucking boat. What the fuck do I care?
Options
Call shout()
on your Foaas
object to shout it from the goddamn mountain! Shouting resets after the FOAAS call finishes. Heaven knows we don't want to annoy anyone when we're telling them to fuck off.
Okay Mr. Worldwide, call in($language)
on your Foaas
object with a valid ISO 639-1 or RFC 3066 language codes to let a motherfucker have it in that language. Just like shouting, the language gets reset after the FOAAS call goes through.
You can combine them too! Hot damn!