Download the PHP package freedomcore/trinitycore-console without Composer

On this page you can find all versions of the php package freedomcore/trinitycore-console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package trinitycore-console

TrinityCore SOAP Console for PHP

Latest Version on Packagist Build Status Code Quality Code Coverage Total Downloads

Creating SOAP account

In order to be able to use library, you have to create a dedicated SOAP account first.
To do so, execute the following command in your worldserver console
accont create 2#1 accountPassword
where:

  1. 2#1 - account ID, can be anything, but i suggest to use the next available id for the account
  2. accountPassword - a secure password for your SOAP account

After it is done, we need to grant privileges to the account, this can be done by using the following command
account set gmlevel 2#1 3 -1

Initializing connection to the SOAP service

After SOAP account is created, we can proceed to the connection initialization for the library
$console = new \FreedomCore\TrinityCore\Console\Client('2#1', 'accountPassword');
That is it. Now you can use the library!

Available Methods

Current implementation of the console client has the following 'endpoints':

  1. account() - Allows you to perform various operations on specific account
  2. bnet() - Allows you to manage related battle.net settings
  3. character() - Allows you to perform various operations on specific settings
  4. gm() - Allows you to 'talk' to GMs
  5. guild() - Allows you to manage different guild specific settings
  6. lfg() - Provides information about the LFG system
  7. reset() - Allows you to reset different aspects of the character (or, all characters on the server)
  8. server() - Allows you to manage different server related settings
  9. send() - Allows you to send in-game mail

Client Options

$console->account()

$console->bnet()

$console->character()

$console->gm()

$console->guild()

$console->lfg()

$console->reset()

$console->send()

$console->server()

P.S.

If you found any errors, or would like to suggest some 'extra' functionality, feel free to create a new ISSUE.


All versions of trinitycore-console with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package freedomcore/trinitycore-console contains the following files

Loading the files please wait ....