=== SRM Embed (Smart Report Maker) ===
Contributors: webuccino
Donate link: https://mysqlreports.com/srm-embed-smart-report-maker/
Tags: mysql reports, reporting, dashboards, charts, embed
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.9.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed MySQL reports, dashboards, charts, and KPIs from Smart Report Maker into WordPress securely without coding.

== Description ==

SRM Embed lets you seamlessly integrate advanced MySQL reporting and business intelligence dashboards into WordPress, powered by Smart Report Maker (SRM).

With this plugin, you can embed:

- MySQL reports
- Interactive dashboards
- Data charts & KPIs
- Pivot tables
- Business intelligence visualizations

Perfect for business owners, data analysts, and developers who need real-time data insights inside WordPress.

SRM (Smart Report Maker) is a powerful PHP report generator and MySQL reporting tool that lets you build reports, dashboards, pivot tables, and KPIs without coding. It transforms raw MySQL data into actionable business intelligence visualizations.

### Fully Interactive Inside WordPress 

Embedded SRM resources maintain all features:

- Drill-down & linking.
- Filtering
- Paging & sorting


### 🎯 Ideal For Users searching for:

- MySQL reporting in WordPress
- PHP report maker integration
- MySQL dashboards in WordPress
- Business intelligence for WordPress
- WordPress data reporting and analytics


=== Video Tutorials ===

**📺 Overview**
https://www.youtube.com/watch?v=crz5vMiL3MQ

**🎓 Step-by-step tutorial**
https://www.youtube.com/watch?v=MEe5gYujDoU


=== Licensing Model ===
This plugin works in demo mode without SRM, but full functionality requires your own SRM installation.

== Features ==

- Embed SRM reports, dashboards, pivot tables, KPIs, and charts
- Supports public and private secure embeds
- Token-based access control for protected data
- Store SRM access tokens encrypted using WordPress salts
- Gutenberg & Classic editor support
- Unlimited shortcodes for different analytics
- Zero coding required

== Installation ==

1. Upload the plugin zip or install from WordPress plugins screen.
2. Activate via Plugins → Installed Plugins.
3. Ensure you have a running copy of Smart Report Maker.
4. In SRM, go to Embed Manager → SRM WP Plugin.
5. Copy your embed configuration (resource URL + key).
6. Create a shortcode in WordPress using the plugin admin panel.
7. Insert shortcode in any page/post.

== Frequently Asked Questions ==

= What is Smart Report Maker? =
Smart Report Maker (SRM) is a powerful PHP-based reporting and dashboard platform for MySQL databases that requires a separate purchase.
More info: https://mysqlreports.com/srm-embed-smart-report-maker/


= Do I need Smart Report Maker to use this plugin? =
You can test with demo resources for free. The demo version of SRM can be found at: 
https://demo.mysqlreports.com/ under "Embed Manager" you should find a page dedicated for configuring the plugin to embed dashboard and reports into your wordpress site from our demo version. 
To embed your private dashboards, you need SRM.

= Can users interact with embedded dashboards and reports (drill-down, export, filter, search, etc.)? =  
Yes. All embedded SRM resources remain fully dynamic inside WordPress. Users can drill down, filter data, search, paginate, and perform all supported actions

= Can I embed private SRM content? =
Yes — private embeds require WordPress login and SRM access key.

= Does the plugin store tokens securely? =
Yes. Tokens are encrypted using WordPress salts.

= Which PHP extensions are required? =
- cURL
- JSON
- libsodium (recommended) or OpenSSL

== Screenshots ==

1. Interactive dashboard embedded directly into WordPress
2. Dynamic SRM report integrated into a WordPress page 
3. Configuration panel for SRM WordPress plugin
4. Visual shortcode builder for embedding SRM reports



== Changelog ==

= 1.9.0 =
- Updated text domain to match plugin slug
- Updated all plugin URLs to new domain structure
- Code improvements and bug fixes

= 1.8.0 =
- Fixed WordPress coding standards compliance issues
- Improved input validation and sanitization
- Replaced cURL with WordPress HTTP API (wp_remote_post)
- Enhanced security with proper escaping and nonce verification
- Updated to WordPress 6.8 compatibility

= 1.7.0 =
- Added validation for `mode=embed` in SRM URLs
- Added KPI resource support
- Improved error guidance

= 1.6 =
- UI improvements for shortcode creation menu

= 1.4.0 =
- Unified shortcode terminology
- UX enhancements

= 1.3.0 =
- Better error reporting
- URL validation enhancements

= 1.1.0 =
- Copy-to-clipboard for shortcodes
- Improved messaging and ordering

= 1.0.0 =
- Initial release
- Secure token encryption
- Full SRM embed support

== Upgrade Notice ==
= 1.9.0 =
Text domain and URL updates — update recommended.

= 1.8.0 =
Security improvements and WordPress coding standards compliance — update recommended.

= 1.7.0 =
Improved embed validation and new KPI support — update recommended.

== License ==
This plugin is licensed under the GPLv2 or later license.
Note: The source code is also available under MIT license terms, and MIT is GPL-compatible.
Smart Report Maker is a separate commercial product and not bundled with this plugin.
