PHPackages                             funivan/ci - 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. funivan/ci

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

funivan/ci
==========

Simple and fast CI server

06PHP

Since Nov 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/funivan/ci)[ Packagist](https://packagist.org/packages/funivan/ci)[ RSS](/packages/funivan-ci/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Installation
============

[](#installation)

- `git clone https://github.com/funivan/ci.git`
- `cd ci`
- `composer install`
- `touch database/database.sqlite`
- `php artisan migrate`
- edit configuration file `ci.app.php`
- add to cron ` * * * * * php artisan schedule:run >> /dev/null 2>&1`
- clone your repository to `build` directory. You can change location inside `ci.app.php`

Manual usage
============

[](#manual-usage)

- add commit to the queue `php artisan ci:add master 0270966ad4a47e73c1ffcd28f5895b74da1b205f dev@funivan.com`
- check commit `php artisan ci:check 1`

How check commit automatically?
===============================

[](#how-check-commit-automatically)

Create git hook `post-receive`

```
#!/bin/sh
#
# An example hook script for the "post-receive" event.
#
# The "post-receive" script is run after receive-pack has accepted a pack
# and the repository has been updated.  It is passed arguments in through
# stdin in the form
#
# For example:
#  aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
#

SERVER_URL="ci.yourserver.com";

trigger_hook() {
        NEWREV="$2"
        REFNAME="$3"

        if [ "$NEWREV" = "0000000000000000000000000000000000000000" ]; then
                # Ignore deletion
                return
        fi

        case "$REFNAME" in
                # Triggers only on branches and tags
                refs/heads/*|refs/tags/*) ;;
                # Bail out on other references
                *) return ;;
        esac

        BRANCH=$(git rev-parse --symbolic --abbrev-ref "$REFNAME")
        COMMITTER=$(git log -1 "$NEWREV" --pretty=format:%ce)
        MESSAGE=$(git log -1 "$NEWREV" --pretty=format:%s)

        echo "Sending webhook"
        curl "http://$SERVER_URL/add-commit?hash=$NEWREV$branch=$BRANCH"
}

if [ -n "$1" -a -n "$2" -a -n "$3" ]; then
  PAGER= trigger_hook $1 $2 $3
else
  while read oldrev newrev refname; do
    trigger_hook $oldrev $newrev $refname
  done
fi
```

For developers
==============

[](#for-developers)

- clone this repository
- run `touch database/database.sqlite`
- create `.env` file with the following code

```
  APP_ENV = dev

```

- run `php artisan migrate:refresh`
- start server `./artisan serve`
- open `http://localhost:8000/`

###  Health Score

20

—

LowBetter than 16% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/1ee14f8f97b3ead4c91823e410ea170293b55be64adf12a20d965f19008839a6?d=identicon)[funivan](/maintainers/funivan)

---

Top Contributors

[![funivan](https://avatars.githubusercontent.com/u/425208?v=4)](https://github.com/funivan "funivan (2 commits)")[![shakhraj](https://avatars.githubusercontent.com/u/3780763?v=4)](https://github.com/shakhraj "shakhraj (2 commits)")[![ChrisGalliano](https://avatars.githubusercontent.com/u/17964229?v=4)](https://github.com/ChrisGalliano "ChrisGalliano (1 commits)")

### Embed Badge

![Health badge](/badges/funivan-ci/health.svg)

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

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k24.8M189](/packages/deployer-deployer)[spatie/laravel-webhook-server

Send webhooks in Laravel apps

1.1k8.4M19](/packages/spatie-laravel-webhook-server)[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

22475.2M5](/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

8181.3M9](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

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

4673.5k](/packages/tiamo-phpas2)

PHPackages © 2026

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