Porter helps you with deploying application from dev directory.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/infernusophiuchus/porter

0.2.2 2021-02-05 12:34 UTC

This package is auto-updated.

Last update: 2025-10-05 22:47:27 UTC


README

Porter helps you with deploying application from dev directory.

version PHP version

Install

composer require infernuophiuchus/porter

How to use

Basic CLI implementation might look like this:

#!/usr/bin/env php
<?php
/**
 * Porter CLI implementation
 */
use Infernusophiuchus\Porter\Entrance as Porter;
use Infernusophiuchus\Porter\Exceptions\EntranceException;

// Special autoloader for avoid loading other packages if you do not need it,
// otherwise you can plug Porter via Composer autoloader.
require_once __DIR__.'/vendor/infernusophiuchus/porter/src/porter-autoload.php';

try {

    new Porter($argv);

} catch (EntranceException $e) {

    echo "\nERROR, ".$e->getCode().": ".$e->getMessage()."\n";

}

After implementation completed, you must setup your Porter with set command. Check the help command to learn how and discover other available commands. It is very simple!