Download the PHP package radic/bukkit-swift-api without Composer
On this page you can find all versions of the php package radic/bukkit-swift-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download radic/bukkit-swift-api
More information about radic/bukkit-swift-api
Files in radic/bukkit-swift-api
Package bukkit-swift-api
Short Description SwiftApi PHP API wrapped in a laravel package for remote calls to a minecraft bukkit server.
License GNU General Public License version 3 (GPLv3)
Homepage https://github.com/RobinRadic/laravel-bukkit-swiftapi
Informations about the package bukkit-swift-api
Laravel Bukkit SwiftAPI
Wraps the Apache Thrift generated PHP library for SwiftAPI in a Laravel Package and provides easy access trough a Facade.
SwiftAPI is a Bukkit plugin that allows you to use the generated API to make simple calls to the Bukkit server over the webz. Or if wanted, you can generate it yourself using Apache Thrift. This makes SwiftAPI usable in almost any programming language.
Version 1.0.0
Overview
Requirements
- PHP >= 5.3
- Laravel >= 4.0
Installation
Require with composer:
Or add to composer.json:
Register service provder and facade in app/config/app.php
Configuration
Use php artisan config:publish radic/bukkit-swift-api
to edit the default configuration.
Connecting
There are several ways to connect:
Example connection:
API Methods
See here which methods return data, and how that data is structured. A quick example:
You'll get something like this in return
Further reading
- Bukkit SwiftAPI. The SwiftAPI Website.
- SwiftAPI Thrift Documentation. The docs for SwiftAPI generated Thrift code.
- Bukkit SwiftAPI Reposiotry. Repository for the SwiftApi Bukkit Java plugin.
Examples and goodies
Check my Laravel Bukkit Console. A web based console to directly interact with your Bukkit Server.
Credits
- Robin Radic created Laravel Bukkit SwiftApi
- Phybros created Bukkit SwiftAPI
License
GNU General Public License version 3 (GPLv3)