2017 © Pedro Peláez
 

library wolnosciowiec-web-deploy

Deploys the application from web instead of shell, which fits for smaller applications hosted on shared hostings

image

wolnosciowiec/wolnosciowiec-web-deploy

Deploys the application from web instead of shell, which fits for smaller applications hosted on shared hostings

  • Monday, February 13, 2017
  • by blackandred
  • Repository
  • 2 Watchers
  • 1 Stars
  • 409 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

Web Deploy

Build Status Code quality Coverage Status, (*1)

A Framework for creation of post-install scripts dedicated for applications hosted on shared hosting (without access to the shell)., (*2)

Allows to execute scripts after installing the application on the destination FTP server. Examples of usage: Clear the cache, migrate the application's database, (*3)

Contains builtin tasks: - PhinxMigrateTask, (*4)

Example of usage

<?php

require __DIR__ . '/../vendor/autoload.php';

// add some authentication here, a token id verification? ip address check?

$app = new \Wolnosciowiec\WebDeploy\Kernel();

// register tasks, pass parameters
$app->addTask(new \Wolnosciowiec\WebDeploy\Tasks\PhinxMigrateTask());

$response = $app->handleRequest(\GuzzleHttp\Psr7\ServerRequest::fromGlobals());

(new Zend\Diactoros\Response\SapiEmitter)->emit($response);

The Versions

13/02 2017

dev-master

9999999-dev

Deploys the application from web instead of shell, which fits for smaller applications hosted on shared hostings

  Sources   Download

LGPLv3

The Requires

 

The Development Requires