PHPackages                             d3strukt0r/votifier-client - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. d3strukt0r/votifier-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

d3strukt0r/votifier-client
==========================

Simple Tool to send vote request to a server which has the Votifier plugin.

3.0.1(2d ago)1624.5k↓31%10[2 issues](https://github.com/Team-MaRo/votifier-client-php/issues)MITPHPPHP &gt;=7.1CI failing

Since Sep 6Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/Team-MaRo/votifier-client-php)[ Packagist](https://packagist.org/packages/d3strukt0r/votifier-client)[ Docs](https://github.com/Team-MaRo/votifier-client-php)[ RSS](/packages/d3strukt0r-votifier-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (14)Versions (10)Used By (0)

Votifier Client (for PHP)
=========================

[](#votifier-client-for-php)

This php script allows easy using of the Bukkit plugin Votifier

[![License](https://camo.githubusercontent.com/fc3e73cd83534676f5fe05f4328dd5fe1ed416051b6c103b6870ce1327c97131/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f5465616d2d4d61526f2f766f7469666965722d636c69656e742d706870)](LICENSE.txt)[![Contributor Covenant](https://camo.githubusercontent.com/14c9a0e39c8feb6b13b3b92ea13562caa4ea3774596b6b6bd043c1b16acaf42f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e7472696275746f72253230436f76656e616e742d322e302d346261616161)](https://github.com/Team-MaRo/.github/blob/master/CODE_OF_CONDUCT.md)[![Version](https://camo.githubusercontent.com/50b106bde5df478486f0db3dffc3549243e619c9213f74d97039f1302da4052d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6433737472756b7430722f766f7469666965722d636c69656e743f6c6162656c3d6c617465737425323072656c65617365)](https://packagist.org/packages/d3strukt0r/votifier-client)[![Version (including pre-releases)](https://camo.githubusercontent.com/4e5461d892e0129ca223b77cb3b051bbaaca9fe1243ff8399df6198608e6239c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4433737472756b7430722f766f7469666965722d636c69656e743f696e636c7564655f70726572656c6561736573266c6162656c3d6c61746573742532307072652d72656c65617365)](https://packagist.org/packages/d3strukt0r/votifier-client)[![Downloads on Packagist](https://camo.githubusercontent.com/4bcb8978dbf0eb556c86f94fcce1c4d90c75a5e2494b9a355dfe30a6e84774d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6433737472756b7430722f766f7469666965722d636c69656e74)](https://packagist.org/packages/d3strukt0r/votifier-client)[![Required PHP version](https://camo.githubusercontent.com/a33d73c0a260e298d45675a3be2d130cb019b6b27680e47a4cdc3e47fcb6ae00/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6433737472756b7430722f766f7469666965722d636c69656e74)](https://packagist.org/packages/d3strukt0r/votifier-client)

[![GH Action CI](https://github.com/Team-MaRo/votifier-client-php/actions/workflows/ci.yml/badge.svg)](https://github.com/Team-MaRo/votifier-client-php/actions)[![Coveralls](https://camo.githubusercontent.com/27cd636c20d4507ce64f7b1082ddf71828ed8784081b4c1db14e12f76fc22843/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f4433737472756b7430722f766f7469666965722d636c69656e742d7068702f6d6173746572)](https://coveralls.io/github/D3strukt0r/votifier-client-php)[![Scrutinizer build status](https://camo.githubusercontent.com/1bb9871890a09f191c82f5d33f8a4dec39e59e4405e1da68280a726f2b67e162/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f4433737472756b7430722f766f7469666965722d636c69656e742d7068702f6d61737465723f6c6162656c3d7363727574696e697a65722532306275696c64)](https://scrutinizer-ci.com/g/D3strukt0r/votifier-client-php/)[![Scrutinizer code quality](https://camo.githubusercontent.com/543997b76dc33260fe7da3c79b80c40669a6464eebc01da1aba4b6c3edc365d5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f4433737472756b7430722f766f7469666965722d636c69656e742d7068702f6d61737465723f6c6162656c3d7363727574696e697a6572253230636f64652532307175616c697479)](https://scrutinizer-ci.com/g/D3strukt0r/votifier-client-php/)[![Codacy grade](https://camo.githubusercontent.com/54c62f7fb2f2264fed592e0bc6cfc889440f602f871b42300976235459199054/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f64393763376531366635643234393234623339663937373665656230323235392f6d61737465723f6c6162656c3d636f64616379253230636f64652532307175616c697479)](https://www.codacy.com/manual/D3strukt0r/votifier-client-php)[![Docs build status](https://camo.githubusercontent.com/7c6426f9cee4f94e59dbd8327b4acd0c1285c560411e2c7aa7135c54ca403429/68747470733a2f2f696d672e736869656c64732e696f2f72656164746865646f63732f766f7469666965722d636c69656e742d7068702f737461626c65)](https://readthedocs.org/projects/votifier-client-php/)

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

The full documentation can be found [here](https://votifier-client-php.readthedocs.io).

### Prerequisites

[](#prerequisites)

What things you need to install the software and how to install them

- PHP Project (PHP 7.1+)
- Minecraft server with a Votifier plugin. **NuVotifier** is recommended — the classic Votifier plugin relies on `javax.xml.bind.DatatypeConverter`, which was removed from the JDK in Java 11, so it only runs on Java 8 and therefore only on Minecraft up to 1.16.5 (the last version that runs on Java 8; 1.17+ require Java 16+). On newer servers it fails to enable with `NoClassDefFoundError: javax/xml/bind/DatatypeConverter`. NuVotifier runs on current Java and is backwards compatible with the classic protocol.

### Installing

[](#installing)

Add the client using [Composer](http://getcomposer.org/).

```
composer require d3strukt0r/votifier-client
```

### Usage

[](#usage)

Simply create an object with all information

For the servers with the classic Votifier plugins:

```
