PhpTabs Documentation Build Status

Parse and write GuitarPro and MIDI files

Home Manual GitHub

Getting started

Install with composer


composer require stdtabs/phptabs

Quick Usage


include 'vendor/autoload.php';

use PhpTabs/PhpTabs;

$song = new PhpTabs('mytab.gp4');

echo $song->getName();


include 'vendor/autoload.php';

use PhpTabs/PhpTabs;

$song = new PhpTabs('mytab.gp4');

foreach ($song->getTracks() as $track) {
  echo sprinf(
    '\n#%d - %s',
    $track->getNumber(),
    $track->getName()
  );
}

For more examples, see traversing the tree documentation


Edit this document on GitHub