PHP code example of subdesign / laravel-webfaction

1. Go to this page and download the library: Download subdesign/laravel-webfaction library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

subdesign / laravel-webfaction example snippets


Webfaction::list_disk_usage();

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
]);

webfaction()->list_mailboxes();
bash
php artisan vendor:publish --provider="Subdesign\LaravelWebfaction\WebfactionServiceProvider"