{"id":31177897,"url":"https://github.com/webuccinoco/mysql-pivot-tables","last_synced_at":"2026-02-04T20:01:33.799Z","repository":{"id":308151999,"uuid":"1031799618","full_name":"webuccinoco/mysql-pivot-tables","owner":"webuccinoco","description":"Build complex MySQL pivot tables without touching a single line of code. This free PHP tool lets you visually connect your database and map out your data sources with a few simple clicks.","archived":false,"fork":false,"pushed_at":"2026-02-03T21:42:11.000Z","size":3547,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-04T10:34:32.036Z","etag":null,"topics":["business-analytics","business-intelligence","crosstab","data-analysis","data-analytics","data-visualization","mysql","mysql-database","mysql-pivot-table","mysql-reports","mysql-virtualization","php","php-pivot-table","php-reports","pivot-tables","reporting-tools"],"latest_commit_sha":null,"homepage":"https://mysqlreports.com/php-mysql-pivot-tables/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webuccinoco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-04T10:53:58.000Z","updated_at":"2026-02-03T21:51:38.000Z","dependencies_parsed_at":"2025-08-04T15:33:30.204Z","dependency_job_id":"777135f2-5656-41fe-8846-40e88922213f","html_url":"https://github.com/webuccinoco/mysql-pivot-tables","commit_stats":null,"previous_names":["webuccinoco/smart-pivot-table","webuccinoco/mysql-pivot-tables"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/webuccinoco/mysql-pivot-tables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webuccinoco%2Fmysql-pivot-tables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webuccinoco%2Fmysql-pivot-tables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webuccinoco%2Fmysql-pivot-tables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webuccinoco%2Fmysql-pivot-tables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webuccinoco","download_url":"https://codeload.github.com/webuccinoco/mysql-pivot-tables/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webuccinoco%2Fmysql-pivot-tables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29094657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T19:16:55.479Z","status":"ssl_error","status_checked_at":"2026-02-04T19:16:52.508Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["business-analytics","business-intelligence","crosstab","data-analysis","data-analytics","data-visualization","mysql","mysql-database","mysql-pivot-table","mysql-reports","mysql-virtualization","php","php-pivot-table","php-reports","pivot-tables","reporting-tools"],"created_at":"2025-09-19T14:32:31.223Z","updated_at":"2026-02-04T20:01:33.793Z","avatar_url":"https://github.com/webuccinoco.png","language":"PHP","readme":"# 📊  Smart Pivot Table - A Free MYSQL Pivot Table Builder\n\nTransform your MySQL data into insightful pivot tables with Smart Pivot Table—a completely free PHP tool that eliminates the need for coding. Its intuitive visual interface allows you to connect your database and define data sources instantly, making complex data analysis accessible to everyone.\n\n## What is a Pivot Table?\n\nA pivot table is a powerful data processing tool used to summarize, sort, reorganize, group, count, total, or average data stored in a database. It allows you to transform rows of raw data into a meaningful multidimensional summary without changing the original data.\n\nPivot tables provide powerful summarization of data, allowing you to condense thousands of rows into a few key metrics. They are essential for identifying trends, comparing large datasets, and turning overwhelming amounts of information into actionable insights. Instead of scrolling through endless records, a pivot table gives you a bird's-eye view of your business performance in seconds.\n\n## Ways to create MYSQL Pivot Tables\n\n- Manual Coding: You can write complex SQL queries using CASE statements and GROUP BY clauses. This \"do-it-yourself\" approach requires deep SQL expertise and significant time to maintain [check this blog post for more details.](https://mysqlreports.com/php-mysql-pivot-tables/)\n- Free Visual Tools: Use a tool like Smart Pivot Table to build these tables visually. It’s a great way to skip the coding process entirely while keeping your project budget-friendly.\n- Commercial Solutions: A professional tool like [Smart Report Maker.](https://mysqlreports.com/php-mysql-pivot-tables/) offers more advanced features, enhanced security, and premium support.\n\n## Main Features of Smart Report Maker\n\n### Core Functionality\n\n- Visual Pivot Builder: Create complex MySQL pivot tables without writing SQL. Connect to databases, select tables or views, and map fields to axes using an intuitive graphical interface.\n- No-Code Data Shaping: Define rows, columns, and metrics through simple wizard.\n- Flexible Data Sources: Combine multiple tables or views with simplified join rules managed entirely through the UI.\n\n### Data Analysis \u0026 Logic\n\n - Advanced Aggregations: Apply operations including Sum, Count, Average, Min, Max, Distinct Count, and custom expressions.\n - Dynamic Filtering \u0026 Slicing: Implement row/column filters, date/numeric ranges, and interactive slices for real-time data exploration.\n - Column Management: You can hide and show any columns from the table to focus on the data that matters most.\n   \n### Management \u0026 Deployment\n\n- Developer Friendly: While no-code by default, the tool is lightweight, fast, and allows for full PHP code customization for advanced users.\n- Easy Installation: Very easy to install and use; just upload the PHP files and get it to work out of the box.\n- Protect your definitions with a simple permission model for secure team collaboration.\n\n### UI \u0026 Performance\n\n- Accessibility: A modern interface allowing you to easily browse even large pivot tables.\n- Lightweight Architecture: Designed for rapid deployment on standard PHP/MySQL stacks with local storage for pivot repositories\n- Instant Summaries: View data transformations immediately within a clean, themed UI optimized for speed.\n\n## Benefits \u0026 Who It's For\n\n- Maximize Productivity: Save hours of manual work by generating visual MySQL pivot tables instantly without writing any code.\n- Customized Summaries: Summarize your data using any function you need and collaborate seamlessly with your team on shared insights.\n- Versatile Audience: Whether you are a developer, data analyst, or business owner, this tool makes it easy to explore and understand your MySQL data regardless of technical skill level.\n\n\nBuilt entirely using **native PHP**, it’s lightweight, easy to set up, and released under the **MIT License** — giving you full freedom to **use**, **modify**, and **distribute** it even in commercial projects.\n\n👉 However, if you’re looking for a **more advanced** and **modern** experience — including a **drag-and-drop pivot table builder**, dynamic filters, and enhanced features — check out the latest module in [Smart Report Maker](https://mysqlreports.com/mysql-reporting-tools/the-best-mysql-report-builder/):\n\n[![Smart Report Maker - MySQL Pivot Table Drag and Drop Editor](https://mysqlreports.com/wp-content/uploads/2021/01/srm10_bigprof.gif)](https://mysqlreports.com/php-mysql-pivot-tables/)\n\n[More info about our drag-and-drop editor for building MySQL Pivot Tables effortlessly.](https://mysqlreports.com/php-mysql-pivot-tables/)\n\n[Try the Demo version of Smart Report Maker.](https://demo.mysqlreports.com/pivot-tables/create)\n\n---\n\n## 🚀 Getting Started\n\n### 🔧 Installation\n\nTo install **Smart Pivot Table**:\n\n- Place the `MPT` directory inside a folder located within your web server's root directory (e.g., `htdocs` or `www`).\n- Open your browser and navigate to the folloiwng link after replacing the \"path-to-MPT\" with the actual path. \n\n  `localhost/path-to-MPT/MPT`\n\n- This should take you to the login setup page:\n\n  `localhost/path-to-MPT/MPT/wizard/login.php?from=setconfig`\n\n---\n\n### 📝 Signup Page\n\nYou’ll see a signup page where you can create your **Admin profile**.\n\n\u003cimg src=\"MPT/images/signup.png\" alt=\"Signup Page\" width=\"50%\" /\u003e\n\n---\n\n### 👤 Create Your Admin Account\n\nAfter signing up:\n\n- The system will instruct you to delete the signup file for security reasons.\n- Once done, log in using the Admin account you created.\n\n---\n\n### 🧩 Build Pivot Tables with Ease\n\nAfter logging in, you’ll be greeted with a simple, intuitive interface to visually build your first MySQL Pivot Table as follow : \n- Connect to your MYSQl OR MariaDB database. \n- Choose a data source: one or more tables or views.\n- Define the rows: select the fields that will form the row axis.\n- select the fields that will form the column.\n- select the fields that will form the Rows.\n- select the fields that will form the values.\n\n\n![Pivot Table Wizard](MPT/images/wizard.png)\n\n---\n\n## 🛠 Need More Features?\n\nIf you need advanced filtering options, custom parameters, or a more powerful pivot table builder, check out the upgraded module in [Smart Report Maker.](https://mysqlreports.com/mysql-reporting-tools/the-best-mysql-report-builder/):\n\n[![Smart Report Maker - MySQL Pivot Table Drag and Drop Editor](https://mysqlreports.com/wp-content/uploads/2021/01/srm10_bigprof.gif)](https://mysqlreports.com/php-mysql-pivot-tables/)\n\n[Try the Demo version of Smart Report Maker.](https://demo.mysqlreports.com/pivot-tables/create)\n\n[More info about our drag-and-drop editor for building MySQL Pivot Tables effortlessly.](https://mysqlreports.com/php-mysql-pivot-tables/)\n\n\n\n## ❓ Frequently Asked Questions (FAQ)\n\n#### What is the difference between Smart Pivot Table and Smart Report Maker?\nSmart Pivot Table is a lightweight, free yet effective tool for building MYSQL pivot tables. [Explore our drag-and-drop editor for building MySQL Pivot Tables effortlessly.](https://mysqlreports.com/php-mysql-pivot-tables/) is a premium solution that includes a drag-and-drop interface, advanced dynamic filters, PDF/Excel exporting, and professional security features.\n\n#### Can I use this on a shared hosting environment?\nYes, Since the tool is built with native PHP and requires only a standard MySQL connection, it works perfectly on any shared hosting provider. \n\n#### Does this tool support large MySQL datasets?\nAbsolutely. The architecture is designed to be lightweight and fast, allowing you to browse and summarize large tables through an optimized UI.\n\n#### Is this PHP pivot table tool really free?\nYes! Smart Pivot Table is open-source and released under the MIT License. You can use it for both personal and commercial projects at no cost.\n\n#### Can I customize the source code?\nYes, the MIT License allows you to modify the PHP code to fit your specific needs or integrate it into your existing web applications.\n\n#### Is MariaDB supported, or only MySQL?\nYes, MariaDB is fully supported. Since MariaDB is a drop-in replacement for MySQL, Smart Pivot Table works seamlessly with MariaDB databases using the same connection settings. \n\n##  Related Links\n\n - [Explore our drag-and-drop editor for building MySQL Pivot Tables effortlessly.](https://mysqlreports.com/php-mysql-pivot-tables/)\n - [Try the Demo version of Smart Report Maker.](https://demo.mysqlreports.com/pivot-tables/create)\n - [Smart Report Maker Home Page.](https://mysqlreports.com/mysql-reporting-tools/the-best-mysql-report-builder/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebuccinoco%2Fmysql-pivot-tables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebuccinoco%2Fmysql-pivot-tables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebuccinoco%2Fmysql-pivot-tables/lists"}