WP Manifestindependent plugin directory
manifest / developer / theme-quality-inspector

Theme Quality Inspector

ThemeForest-grade WordPress theme quality inspector - security, translation, RTL, coding standards, and performance scans

by Midas Moradi · github.com/midasmoradi/theme-quality-inspector · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/midasmoradi/theme-quality-inspector/archive/refs/heads/main.zip

Readme

Theme Quality Inspector

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.

Read the full README on GitHub →

Releases

TagPublished
v1.0.0 Jun 8, 2026

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.