1. Go to this page and download the library: Download nicolaswurtz/chordpro-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nicolaswurtz / chordpro-php example snippets
bash
$ composer
php
array(
'french' => true, // to display french chords (Do, Ré, Mi, Fa, Sol, La, Si, Do), including Song Key.
'no_chords' => true // to only get text (it removes "block" system for chords alignements)
);
$song->getKey(['french' => true]);
php
$guess = new ChordPro\GuessKey();
$key = $guess->guessKey($song);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.