Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/midasmoradi/theme-quality-inspector/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
ThemeForest-grade WordPress theme quality checklist plugin. Run automated audits on any installed theme before submission or client delivery.
Author: Midas Moradi
5-Point Quality Checklist
| Scanner | What it checks |
|---|---|
| Security Scan | ABSPATH guards, escaping, sanitization, dangerous functions |
| Translation Check | Text domain, i18n functions, languages/ folder, POT file |
| RTL Check | rtl.css, is_rtl(), logical CSS properties vs directional |
| Coding Standards | Required theme files, prefixes, WPCS (optional PHPCS) |
| Performance Check | Asset enqueues, file sizes, inline scripts, query patterns |
Architecture
src/
├── App.php # Bootstrap + DI wiring
├── Container/Container.php # Service container
├── Inspector/InspectorService.php # Orchestrates all scanners
├── Scanners/
│ ├── SecurityScanner.php
│ ├── TranslationScanner.php
│ ├── RtlScanner.php
│ ├── CodingStandardsScanner.php
│ └── PerformanceScanner.php
├── Api/InspectorRestController.php # REST API (tqi/v1)
├── Admin/DashboardPage.php
├── DTO/ScanResult.php, InspectionReport.php
└── Support/ThemeAnalyzer.php
Requirements
- WordPress 6.4+
- PHP 8.1+
- Composer (recommended)
Installation
git clone https://github.com/midasmoradi/theme-quality-inspector.git
cd theme-quality-inspector
composer install --no-dev
Copy to wp-content/plugins/theme-quality-inspector and activate.
Open Theme Inspector in the admin menu, select a theme, and click Run Full Inspection.
REST API
| Endpoint | Method | Description |
|---|---|---|
/wp-json/tqi/v1/inspect?theme={slug} |
GET | Run full inspection |
/wp-json/tqi/v1/scanners |
GET | List available scanners |
/wp-json/tqi/v1/themes |
GET | List installed themes |
Requires switch_themes capability.
Development
composer install
composer phpcs
composer phpcbf
License
GPL-2.0-or-later — see LICENSE.
Releases
1 release.
Tag
Published
v1.0.0
latest
Jun 8, 2026 4mo ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.