PHP Classes

PHP Chord: Render images with guitar chords

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 1,150 All time: 3,288 This week: 206Up
Version License PHP version Categories
phpchord 1.0Free for non-comm...5.0PHP 5, Graphics, Audio


This class can be used to render images with chords for guitars or other instruments.

It takes as parameters the notes of the chord that should be used for each string.

The class can generate an image with the strings and the positions and representation of the chord note positions.

The generated image is displayed as the current output in PNG format.

Innovation Award
PHP Programming Innovation award nominee
August 2010
Number 2

Prize: One copy of the Zend Studio
Guitars and other instruments are usually played using chords.

There is a notation to represent chords graphically. This notation is useful to teach people how to play the chords of a music with a given instrument.

This class provides an useful solution to render music chords as images that can be displayed in Web pages.

Manuel Lemos
Picture of Tony Pottier
Name: Tony Pottier <contact>
Classes: 1 package by
Country: France France
Age: 38
All time rank: 218261 in France France
Week rank: 245 Up8 in France France Up
Innovation award
Innovation award
Nominee: 1x


Please visit and browse the examples!

  • sample.png
  Files folder image Files  
File Role Description
Plain text file Class class file
Plain text file Aux. requiered file for
Plain text file readme.txt Data Readme
Plain text file license.txt Doc. License
HTML file examples.html Example All examples
Image file bg1.png Data needed for examples
Plain text file example1.php Example Example
Plain text file example10.php Example Example
Plain text file example2.php Example Example
Plain text file example3.php Example Example
Plain text file example4.php Example Example
Plain text file example5.php Example Example
Plain text file example6.php Example Example
Plain text file example7.php Example Example
Plain text file example8.php Example Example
Plain text file example9.php Example Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,288
This week:206Up
User Ratings User Comments (3)
 All time
The class works perfecty!
13 years ago (William Sant Ana)
package is nice example of gd-programming, usefull as startin...
13 years ago (Bert Tuijl)
Great Class, this is brillant.
13 years ago (frakosun)