Download the PHP package d3strukt0r/votifier-client without Composer
On this page you can find all versions of the php package d3strukt0r/votifier-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download d3strukt0r/votifier-client
More information about d3strukt0r/votifier-client
Files in d3strukt0r/votifier-client
Package votifier-client
Short Description Simple Tool to send vote request to a server which has the Votifier plugin.
License MIT
Homepage https://github.com/Team-MaRo/votifier-client-php
Rated 5.00 based on 1 reviews
Informations about the package votifier-client
Votifier Client (for PHP)
This php script allows easy using of the Bukkit plugin Votifier
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.
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 withNoClassDefFoundError: javax/xml/bind/DatatypeConverter. NuVotifier runs on current Java and is backwards compatible with the classic protocol.
Installing
Add the client using Composer.
Usage
Simply create an object with all information
For the servers with the classic Votifier plugins:
For the servers which use the NuVotifier plugin (v1 protocol) (HINT: It's NOT the same as method 1):
For the servers which use the NuVotifier plugin with v2 protocol:
Finally, just send it.
Running the tests
Explain how to run the automated tests for this system
Break down into end-to-end tests
Run test scripts
Coding style tests and fixes
To check if the code follows the PSR-12 standard, the library PHP_CodeSniffer has been add to the development environment, but you can also download it separately from here and here.
To see what mistakes exist in the code run:
To fix the code:
This library already comes with php-cs-fixer but because it's impossible to set it up to follow the PSR-12 standard, it's not a requirement anymore. It's been left in the project only for additional styling information that might be applied. It can also be downloaded separately from
here.
Code documentation
Install Python v3 from here.
Install Sphinx as documented here.
To build the docs:
Old Code documentation
You can also create a documentation with phpDocumentor. For that please downloaded at least v3+ for to work from here. And then you can just run it
Built With
- PHP - Programming Language
- Composer - Dependency Management
- PHPUnit - Testing the code
- Github Actions - Automatic CI (Testing)
- Read the docs - Documentation
Contributing
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project uses Conventional Commits.
Versioning
We use SemVer for versioning. For available versions, see the tags on this repository.
Authors
Special thanks for all the people who had helped this project so far
- Manuele - D3strukt0r
See also the full list of contributors who participated in this project.
I would like to join this list. How can I help the project?
We're currently looking for contributions for the following:
- [ ] Bug fixes
- [ ] Translations
- [ ] etc...
For more information, please refer to our CONTRIBUTING.md guide.
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc
All versions of votifier-client with dependencies
ext-spl Version *
ext-date Version *
ext-hash Version *
ext-json Version *
ext-mbstring Version *
ext-openssl Version *
ext-pcre Version *