rickselby / svglapchart
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rickselby/svglapchart
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2025-10-11 01:35:08 UTC
README
Generate SVG lap charts in PHP.
Example
// Create the chart $chart = new chart(); // Set information for each driver foreach($drivers AS $driver) { $chart->setDriver($driver['name'], $driver['colour'], $driver['positions']); } // Set how many drivers were lapped on each lap $chart->setLapped($lapped); // Get the SVG echo $chart->generate();