WP Manifestindependent plugin directory
manifest / seo / wp-seo-analyzer

WP SEO Analyzer

A high-performance WordPress plugin for programmatic SEO analysis

★ 0stars

Install

Download source zip No release zip yet

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/hnikoloski/wp-seo-analyzer/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

🚀 Supercharge your WordPress content analysis with this high-performance SEO toolkit!

WP SEO Analyzer is a powerful, modern WordPress plugin that brings enterprise-level SEO analysis capabilities to your fingertips. Built with performance and user experience in mind, it helps you optimize your content with real-time analysis and actionable insights.

✨ Key Features

📊 Smart Content Analysis

  • 📝 Intelligent word count calculation
  • 🎯 Precise keyword density analysis
  • 🔄 Real-time content processing
  • 📚 Support for all public post types
  • 🔗 Available as both a Gutenberg block and a shortcode

🎨 Modern User Interface

  • ⚡️ Lightning-fast, responsive design
  • 📱 Mobile-optimized experience
  • 🔍 Advanced filtering capabilities
  • 📊 Interactive data tables
  • 📄 Smart pagination for large datasets

🔌 Developer-Friendly API

  • 🔒 Secure REST API endpoints
  • 📡 Clean JSON responses
  • 🛡️ Built-in authentication
  • 📚 Comprehensive documentation

🚀 Getting Started

System Requirements

Requirement Version
WordPress 6.7.1+
PHP 8.3.3+
Node.js 20.14.0+
Permalinks Post name - Permalink structure for api to work

⚡️ Installation

  1. 📥 Clone the repository

    git clone https://github.com/hnikoloski/wp-seo-analyzer.git
  2. 📦 Install dependencies

    cd wp-seo-analyzer
    npm install
  3. 🔨 Build the plugin

    npm run build
  4. 📁 Install in WordPress

    • Copy the plugin folder to your WordPress installation's wp-content/plugins/ directory
    • Or create a ZIP file using npm run plugin-zip and upload it via the WordPress admin panel
  5. ✨ Activate the plugin

    • Go to WordPress admin panel
    • Navigate to Plugins
    • Find "WP SEO Analyzer"
    • Click "Activate"

🎮 Usage Guide

🖥️ WordPress Admin Interface

  1. 📊 Access SEO Analyzer in your admin menu
  2. 🔑 Enter your target keyword
  3. 📑 Choose post type(s) to analyze
  4. 🚀 Click "Analyze"
  5. 📈 View your results:
    • 🔄 Sort by any column
    • ⚡️ Filter results instantly
    • 📱 Responsive on all devices
    • 📊 Export capabilities

🔌 REST API Integration

Base URL: http://your-site.com/wp-json/wp-seo-analyzer/v1

🔑 Authentication

Note: For testing purposes, nonce validation has been temporarily disabled to allow public access to the analyzer. This should be re-enabled in production environments.

GET /get-nonce

Returns a nonce token for authenticated requests.

📊 Content Analysis

POST /wp-json/wp-seo-analyzer/v1/analyze

Parameters:

  • keyword: String (required)
  • post_type: String (optional, default: 'all')

📑 Post Types

GET /post-types

Retrieves available content types.

🧪 API Testing

We provide a comprehensive Postman collection for testing:

  1. 📥 Import the collection from postman/
  2. 🔧 Configure the environment
  3. 🚀 Start testing:
    1. Get your nonce token
    2. Set up authentication
    3. Explore endpoints

Gutenberg Block

  1. In the post editor, click the '+' button to add a new block
  2. Search for "SEO Analyzer" or find it in the "SEO Tools" category
  3. Add the block to your post
  4. Enter a keyword and click "Analyze" to see the results

Shortcode

You can also use the shortcode [seo_analyzer] to display the analyzer in any post or page:

[seo_analyzer]

👩‍💻 Development

🛠️ Setup

# Clone repository
git clone https://github.com/hnikoloski/wp-seo-analyzer.git

# Install dependencies
npm install

# Start development
npm run start

📦 Build

# Production build
npm run build

# Create plugin package
npm run plugin-zip

📁 Project Structure

wp-seo-analyzer/
├── 📦 build/                # Compiled files
├── 📂 includes/            # PHP classes
├── 🌐 languages/          # Translations
├── 📱 src/                # Source files
│   ├── 🧩 blocks/        # Gutenberg blocks
│   ├── 🎨 components/    # React components
│   ├── 📄 index.js      # Main entry
│   └── 🎨 style.scss    # Styles
└── 📝 wp-seo-analyzer.php # Plugin main

✅ Features Checklist

📊 Content Analysis

  • [x] 📝 Word count calculation
  • [x] 🎯 Keyword density analysis
  • [x] 📚 Multi post type support
  • [x] ⚡️ Real-time processing

🎨 Frontend

  • [x] 📊 Interactive tables
  • [x] 🔍 Advanced filtering
  • [x] 📱 Responsive design
  • [x] 📄 Smart pagination

🔌 API

  • [x] 🔒 Secure endpoints
  • [x] 📚 WordPress standards
  • [x] ⚡️ Performance optimized
  • [x] 🛡️ Authentication

👨‍💻 Code Quality

  • [x] 🏗️ OOP architecture
  • [x] 📦 Modern namespaces
  • [x] ✨ Coding standards
  • [x] 🔧 React best practices

🤝 Contributing

Here's how you can help:

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch
  3. ✨ Make your changes
  4. 🚀 Push to your fork
  5. 📬 Open a Pull Request

📄 License

Licensed under GPL-2.0 - see the LICENSE file for details.