Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

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

Notifications You must be signed in to change notification settings

Wolnosciowiec-Archive/web-deploy

Repository files navigation

Web Deploy

Build Status Code quality Coverage Status

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

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

Contains builtin tasks:

  • PhinxMigrateTask

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published