PHPackages                             phenriquelima/continuousdelivery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. phenriquelima/continuousdelivery

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

phenriquelima/continuousdelivery
================================

Continuous Delivery Feature

0186PHP

Since Sep 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/phenriquelima/continuousdelivery)[ Packagist](https://packagist.org/packages/phenriquelima/continuousdelivery)[ RSS](/packages/phenriquelima-continuousdelivery/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Continuous Delivery Component
=============================

[](#continuous-delivery-component)

This component provide routine classes to application deployment through send a http request. Set up a github webhook post request to a route from your application and run the code to update your local repository.

Prerequisites
-------------

[](#prerequisites)

Tested on OS GNU/Linux Debian 11 (docker image *php:8.0-apache*)

- Composer and Git must be installed on server

Features
--------

[](#features)

With this component you can run three stages to delivery your application:

1. Run secure git pull from your server repository to update the source code
2. Run composer install or compose update
3. Run Migrations ex.: 'php artisan migrate or vendor/bin/phinx migrate'

Installation:
-------------

[](#installation)

```
composer require phenriquelima/continuousdelivery:dev-main

```

Usage:
------

[](#usage)

If you are using Laravel or any framework or route component, make a route and run a callback or controller method from that following this instructions:

1. Define your static baseURL variable (must be the application root url)
2. Create a ContinuousDelivery class instance with four params as bellow:
    - the base path url (where the commands will be executed)
    - the secure URL to update your repository
    - code to run migrations
    - code to install dependencies

```
use PHenriqueLima\ContinuousDelivery\Controller\ContinuousDelivery;

 Route::get('/pull', function(){

    $continuousDelivery = new ContinuousDelivery(
        '/var/www/vacinacao/',
        'git pull https://phenriquelima:yourSecureTokenProvideByGithub@github.com/AccountName/RepositoryName',
        'php artisan migrate',
        'composer install --no-autoloader'
        );

});

```

3. If you want to see the component config run:

```
var_dump($continuousDelivery->settings());

```

- This method return the array settings status

4. If you want to disabled some of three stage to update execute:

- ContinuousDelivery::instance()::$databaseMigrations = false;
- ContinuousDelivery::instance()::$dependencyManager = false;
- ContinuousDelivery::instance()::$updateRepository = false;

Warning
-------

[](#warning)

- Be sure that your user application has permission to write on repository
- Configure your Root Path Application

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a79bad124dae5ef2ef2ff5d04dfb4f39d21fb7706a8263f27aa04593ff0d420?d=identicon)[phenriquelima](/maintainers/phenriquelima)

---

Top Contributors

[![phenriquelima](https://avatars.githubusercontent.com/u/62485321?v=4)](https://github.com/phenriquelima "phenriquelima (13 commits)")

### Embed Badge

![Health badge](/badges/phenriquelima-continuousdelivery/health.svg)

```
[![Health](https://phpackages.com/badges/phenriquelima-continuousdelivery/health.svg)](https://phpackages.com/packages/phenriquelima-continuousdelivery)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M206](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
