PHP code example of kunstmaan / skylab

1. Go to this page and download the library: Download kunstmaan/skylab 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/ */

    

kunstmaan / skylab example snippets

 skylab.phar new [--hideLogo] [--no-interactive] [--] [<name>]
 skylab.phar new
 skylab.phar new testproject
 skylab.phar fetch [--hideLogo] [--no-interactive] [-l|--location [LOCATION]] [--no-database] [--] [<project>] [<host>]
 skylab.phar fetch
 skylab.phar fetch testproject server1
 skylab.phar share [--hideLogo] [--no-interactive]
 skylab.phar share
 skylab.phar permissions [--hideLogo] [--no-interactive] [--] <name>
 skylab.phar permissions testproject
 skylab.phar maintenance [--hideLogo] [--no-interactive] [--quick]
 skylab.phar maintenance
 skylab.phar backup [--hideLogo] [--no-interactive] [--quick] [--] [<project>]
 skylab.phar remove [--hideLogo] [--no-interactive] [--force] [--no-backup] [--] [<name>]
 skylab.phar remove testproject
 skylab.phar remove testproject --force
 skylab.phar apply [--hideLogo] [--no-interactive] [-l|--list] [--] [<project>] [<skeleton>]
 skylab.phar apply -l
 skylab.phar apply
 skylab.phar apply testproject anacron
 skylab.phar self-update [--hideLogo] [--no-interactive] [-d|--dev] [-N|--non-dev] [-p|--pre] [-s|--stable] [-r|--rollback] [-c|--check]
 skylab.phar self-update

$ curl -sSL https://raw.github.com/Kunstmaan/skylab/master/installer | php

php skylab.phar backup myproject  # Will backup the myproject project

php skylab.phar backup myproject --quick # Will backup the myproject project, but not create the tar file.

php skylab.phar backup myproject --quick --anonymize # Will backup the myproject project, but not create the tar file, and anonymize the database with the edyan/neuralizer package.