Download the PHP package fortytwo-studio/webfaction-php without Composer
On this page you can find all versions of the php package fortytwo-studio/webfaction-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fortytwo-studio/webfaction-php
More information about fortytwo-studio/webfaction-php
Files in fortytwo-studio/webfaction-php
Package webfaction-php
Short Description PHP wrapper for the Webfaction XML-RPC API
License MIT
Informations about the package webfaction-php
webfaction-php
Simple PHP wrapper for the WebFaction XMLRPC API
Installation
Install using composer
composer require fortytwo-studio/webfaction-php
or add to your composer.json file's "require" section
(don't forget to run composer install
or composer update
)
Overview
This is a PHP wrapper for interacting with the WebFaction XMLRPC API. It's extremely thin, methods follow the naming conventions(camelCase rather than snake_case) and parameter ordering (ignoring session_id) of the XMLRPC API
Usage
include the client in your project class.
To create a connection to the API new up an instance of the WebFactionClient with your API credentials:
You can then perform interactions with the API using the methods.
Example - Provision a new mysql database and user
Changelog
03/Apr/2018 - 1.1.4
- Fixed bug on replaceInFile method where multiple replacements were erroring
06/Mar/2018 - 1.1.3
- altered composer.json to require 4.* of phpxmlrpc
- update ReadMe
19/Dec/2017 - 1.1.2
- fixed "Unkown Error" exception on createWebsite on v1 and v2 of the API
- update ReadMe
29/Nov/2017 - 1.1.1
- small change to exception message when using an endpoint unavailable to the current version
- update ReadMe
29/Nov/2017 - 1.1.0
- update to handle Version 2 of the Webfaction API. This has support for SSL certificate management.
- fixed bug where some email methods weren't returning a response
- update ReadMe
01/Aug/2017 - 1.0.0
- update phpunit
- travis CI build integration
- update ReadMe