Download the PHP package buildwars/gw-skilldata without Composer

On this page you can find all versions of the php package buildwars/gw-skilldata. 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 gw-skilldata

build-wars/gw-skilldata

Guild Wars skill data and skill descriptions for use with template decoders, e.g. in BBCode, Wikis etc.

PHP Version Support Packagist version NPM version License Continuous Integration Coverage Packagist downloads

Overview

Features

Requirements

Quickstart

PHP

The returned skill data array from SkillDataInterface::get(979) looks as follows:

JavaScript :coffee:

JavaScript doesn't have traits, so you will need to implement that part by yourself:

which outputs:

PvP skill redirect

When the $pvp parameter is set to true, SkillDataInterface::get(979, true) will redirect to the PvP version of the given skill (if available, pvp_split and split_id):

HTML tags in descriptions

The skill descriptions may contain the custom HTML tags <gray>...</gray> and <sic/> that you can either replace or use to style, for example:

API

SkillDataInterface

(The API is similar for the JavaScript version)

Method Description
get(int $id, bool $pvp = false) Returns the data for the given skill ID, including descriptions for the current language
getAll(array $IDs, bool $pvp = false) Returns an array with the skill data for each of the given skill IDs
getByCampaign(int $campaign, bool $pvp = false) Returns all skills for the given campaign ID
getByProfession(int $profession, bool $pvp = false) Returns all skills for the given profession ID
getByAttribute(int $attribute, bool $pvp = false) Returns all skills for the given attribute ID
getByType(int $type, bool $pvp = false) Returns all skills for the given skill type ID
getElite(bool $pvp = false) Returns all elite skills
getRoleplay() Returns all roleplay skills

Disclaimer

Use at your own risk!


All versions of gw-skilldata with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-mbstring Version *
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 buildwars/gw-skilldata contains the following files

Loading the files please wait ....