PHPackages                             bfoxwell/votifier - 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. [API Development](/categories/api)
4. /
5. bfoxwell/votifier

ActiveLibrary[API Development](/categories/api)

bfoxwell/votifier
=================

Votifier Server API for use in PHP

1262[1 issues](https://github.com/brianmcdo/votifier/issues)PHP

Since Oct 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/brianmcdo/votifier)[ Packagist](https://packagist.org/packages/bfoxwell/votifier)[ RSS](/packages/bfoxwell-votifier/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Votifier Server [![License](https://camo.githubusercontent.com/238329cc0714a423ada4a350e811766dc27e9a2db72caa09495f5a9b5df6f4d6/68747470733a2f2f706f7365722e707567782e6f72672f62666f7877656c6c2f766f7469666965722f6c6963656e73652e706e67)](https://packagist.org/packages/bfoxwell/votifier)[![Latest Stable Version](https://camo.githubusercontent.com/4e2f1aa297a02727da0ded21cc5a8d4267e30d1122d1e868a1be2537786c5c19/68747470733a2f2f706f7365722e707567782e6f72672f62666f7877656c6c2f766f7469666965722f762f737461626c652e706e67)](https://packagist.org/packages/bfoxwell/votifier)[![Total Downloads](https://camo.githubusercontent.com/adf9a32ff52a554bd1930b9d022243f1d4cd95883279789b22625ee923e5cac8/68747470733a2f2f706f7365722e707567782e6f72672f62666f7877656c6c2f766f7469666965722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/bfoxwell/votifier)[![Monthly Downloads](https://camo.githubusercontent.com/6f68fc7cfde811b1fb0df2abdd53ba03d3f944fea40ef14020f3c6c425909f48/68747470733a2f2f706f7365722e707567782e6f72672f62666f7877656c6c2f766f7469666965722f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/bfoxwell/votifier)

Installation
------------

[](#installation)

Add `bfoxwell/votifier` to `composer.json`.

```
"bfoxwell/votifier": "dev-master"

```

Run `composer update` to pull down the latest version of the Votifier Server.

Usage
-----

[](#usage)

Generate Keys

```
openssl genrsa -out private.pem 2048

```

```
openssl rsa -in private.pem -pubout > public.pem

```

### Set the Configuration

[](#set-the-configuration)

```
    $config = [
    	'key' => __DIR__ . '/private.pem', // Required | /path/to/private-key.pem
    	'passphrase' => '', // Optional
    	'address' => '0.0.0.0', // Optional | Default: localhost
    	'port' => 8192, // Optional | Default: 8192
    ];
```

### Initialize

[](#initialize)

```
    // $message returns array | $logger returns instance of Psr\Log\LoggerInterface;
    $server = new Votifier($config, function($message, $logger)
    {
        // Your code goes here
    });
```

Message Returns

```
    array(4) {
      'serviceName' =>
      string(5) "MinecraftVoteSite"
      'username' =>
      string(5) "Steve"
      'address' =>
      string(9) "example.com"
      'timeStamp' =>
      string(10) "1400647120"
    }

```

### Set PSR-3 Compatible Logger (Optional)

[](#set-psr-3-compatible-logger-optional)

```
    use Monolog\Logger;
    use Monolog\Handler\StreamHandler;

    // create a log channel
    $logger = new Logger('Votifier');
    $logger->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));

    $server->setLogger($logger); // Set Logger
```

### Run It

[](#run-it)

```
    $server->run();
```

Run with Supervisord
--------------------

[](#run-with-supervisord)

### Config Files

[](#config-files)

```
[program:votifier_vanilla]
command=php index.php vanilla
directory=/home/minecraft/http/viper-votifier
stdout_logfile=/home/minecraft/http/api/app/storage/logs/votifier_vanilla_supervisord.log
redirect_stderr=true
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/73c8a9643667c55740f849445d4469ecbd613b4ebfe22adfb085d25d833f2f01?d=identicon)[brianmcdo](/maintainers/brianmcdo)

---

Top Contributors

[![brianmcdo](https://avatars.githubusercontent.com/u/2156475?v=4)](https://github.com/brianmcdo "brianmcdo (18 commits)")

### Embed Badge

![Health badge](/badges/bfoxwell-votifier/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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