PHPackages                             subdesign/laravel-webfaction - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. subdesign/laravel-webfaction

ActiveLibrary[API Development](/categories/api)

subdesign/laravel-webfaction
============================

Webfaction API wrapper for Laravel

1.0.5(6y ago)223MITPHPCI failing

Since Jul 10Pushed 5y ago2 watchersCompare

[ Source](https://github.com/subdesign/laravel-webfaction)[ Packagist](https://packagist.org/packages/subdesign/laravel-webfaction)[ Docs](https://github.com/subdesign/laravel-webfaction)[ RSS](/packages/subdesign-laravel-webfaction/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (7)Used By (0)

DEPRECATION WARNING
-------------------

[](#deprecation-warning)

Webfaction will end it's services possibly from May 2021, so the package won't be maintained in the future.

Laravel-Webfaction
==================

[](#laravel-webfaction)

Webfaction API wrapper for Laravel

Requirements
------------

[](#requirements)

Laravel 5.x

Installation
------------

[](#installation)

Install with composer

```
composer require subdesign/laravel-webfaction:^1.0.0
```

> If you use Laravel 5.5+, you don't need to do the following two steps.

Add Service Provider to the `config/app.php`

```
Subdesign\LaravelWebfaction\WebfactionServiceProvider::class,
```

Add Facade to the `config/app.php`

```
'Webfaction' => Subdesign\LaravelWebfaction\Facades\Webfaction::class,
```

Publish the `webfaction.php` config file

```
php artisan vendor:publish --provider="Subdesign\LaravelWebfaction\WebfactionServiceProvider"
```

Set the credentials and other data in the `.env` file

```
WF_USERNAME=
WF_PASSWORD=
WF_MACHINE=WebXXX
WF_DEBUG=false
WF_DEBUG_LEVEL=2
```

Where `WF_USERNAME` and `WF_PASSWORD` is your control panel username and password. If you have multiple machines, you can define the machine name `WF_MACHINE` like Web123 on which one you want to use the API. `WF_DEBUG` will show debug information in the response, with `WF_DEBUG_LEVEL` you can set debug verbosity. Values: 0, 1 and 2.

Dependency
----------

[](#dependency)

The package has a dependency which is automatically installed:

Usage
-----

[](#usage)

You can find some examples here but all API methods described on .
You have to use API calls the same way as you find in the API documentation. Eg. `list_disk_usage` in docs is the method `list_disk_usage()` in the API call.

List disk usage:

```
Webfaction::list_disk_usage();
```

On create methods, you have to pass an array of values (except `session_id`) in the order of the method description! `session_id` is dynamically set in the background.

Creating an app:

```
Webfaction::create_app([
    "app_name",  // name of your app
    "static_php72",  // app type
    false, // autostart app with autostart.cgi
    "", // extra_info field content
    false // open port
]);
```

If you don't like Facades, you can use the helper:

```
webfaction()->list_mailboxes();
```

Testing
-------

[](#testing)

Run

```
composer test
```

Credits
-------

[](#credits)

- [Barna Szalai](https://github.com/subdesign)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~102 days

Recently: every ~128 days

Total

6

Last Release

2349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05bd66ff1577396f52eed671a80ec1d85803f4b55c8f9af8ebae464d1285944b?d=identicon)[bszalai](/maintainers/bszalai)

---

Top Contributors

[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (1 commits)")[![subdesign](https://avatars.githubusercontent.com/u/691695?v=4)](https://github.com/subdesign "subdesign (1 commits)")

---

Tags

phpapilaravelwebfaction

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/subdesign-laravel-webfaction/health.svg)

```
[![Health](https://phpackages.com/badges/subdesign-laravel-webfaction/health.svg)](https://phpackages.com/packages/subdesign-laravel-webfaction)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[jeroen-g/flickr

Modern PHP package to make Flickr API calls. Ships with Laravel implementation.

2559.9k2](/packages/jeroen-g-flickr)[exlo89/laravel-sevdesk-api

A helpful Sevdesk API client for Laravel.

1116.5k](/packages/exlo89-laravel-sevdesk-api)[dystcz/lunar-api

Dystore API layer for Lunar e-commerce package

411.1k3](/packages/dystcz-lunar-api)[yxx/laravel-quick

agile development

145.3k](/packages/yxx-laravel-quick)[gufy/whmcs

WHMCS API for Laravel 5

201.7k](/packages/gufy-whmcs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
