Download the PHP package pandaac/exporter without Composer

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

Exporter

The aim of the pandaac exporter is to provide a simple & quick interface to export data from the common XML files found within the data/ directory of your Open Tibia server.

It is strongly recommended that you cache the response rather than parsing it over and over again.

As of right now, this exporter assumes that you're using The Forgotten Server 1.1. I have no immediate plans to expand this to any other distrobutions until I expand the distrobution range for pandaac itself. However, if there's enough public pressure for a specific distrobution, I may reconsider.

Requirements

Install

Via Composer

Usage

Pass the absolute path to your Open Tibia server as the first argument of the Exporter object and specify which parser you would like to use as the first argument of the parse method of the Exporter object.

The parse method also accepts a second argument for additional attributes (depends on the parser), and a third argument for overriding the default filepath (or providing a specific parser with a filepath).

Settings

Optionally, you may pass through engine specific settings as the second argument of the \pandaac\Exporter\Exporter object.

Available settings are as follows (the selected values are the default values):

Response

Each parser returns an Illuminate Collection object. Please refer to the Laravel documentation for details on how to utilise it.

Parsers

Parsers are what decides how to parse a certain file, and how to structure its response. It is important you use the correct parser for the correct file.

XML Parsers

OTBM Parsers

The OTBM engine has not yet been developed, and thus the following parsers are rendered obsolete for the time being.

Contributing

Please refer to the PSR-2 guidelines and squash your commits together into one before submitting a pull request.

Thank you.


All versions of exporter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
ext-libxml Version *
tightenco/collect Version ~5.4
mdurrant/php-binary-reader Version ~1.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 pandaac/exporter contains the following files

Loading the files please wait ....