{"repo":"maantje/charts","free":true,"listed":false,"github":"https://github.com/maantje/charts","clone":"git clone https://github.com/maantje/charts.git","description":"Make SVG charts with PHP","language":"PHP","stars":332,"topics":["chart","charts","php","svg"],"license":"MIT","category":"ui-components","readme_excerpt":"Charts - SVG Chart Rendering Charts is a zero-dependency PHP library for generating SVG charts. It enables easy creation of SVG-based charts directly from PHP, with no additional dependencies required. Features - Simple, intuitive API for chart creation - Lightweight, with no external dependencies - Supports various chart types: line charts, bar charts, stacked charts, and mixed charts - Fully customizable and extendable - Outputs pure SVG, allowing for: - Embedding in PDFs, view example PDF report Installation To get started, install the package via composer: Usage Examples Below are some examples of the types of charts you can create using this library. Click on the links to view the source code for each example. - Example Usage With mPDF - Simple Line Chart - Curved Line Chart - Step Line Chart - Area Line Chart - Bar Chart - Stacked Bar Chart - Grouped Bar Chart - Advanced Line Chart - Advanced Bar Chart - Mixed Chart - Negative Values Chart - Pie Chart Example Usage With mPDF 📄 View PDF document View source Simple Line Chart View source Curved Line Chart View source Step line chart View source Area line chart View source Bar Chart View source Stacked Bar Chart View source Grouped Bar Chart View source Advanced Line Chart View source Advanced Bar Chart View source Mixed chart View source Negative Values Chart View source Pie chart View source Usage Creating a Chart You can create different types of charts using the provided classes. Below are examples of how to create a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/maantje","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maantje/charts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}