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/hnikoloski/wp-seo-analyzer/archive/refs/heads/main.zip🚀 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
-
📥 Clone the repository
git clone https://github.com/hnikoloski/wp-seo-analyzer.git -
📦 Install dependencies
cd wp-seo-analyzer npm install -
🔨 Build the plugin
npm run build -
📁 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-zipand upload it via the WordPress admin panel
- Copy the plugin folder to your WordPress installation's
-
✨ Activate the plugin
- Go to WordPress admin panel
- Navigate to Plugins
- Find "WP SEO Analyzer"
- Click "Activate"
🎮 Usage Guide
🖥️ WordPress Admin Interface
- 📊 Access SEO Analyzer in your admin menu
- 🔑 Enter your target keyword
- 📑 Choose post type(s) to analyze
- 🚀 Click "Analyze"
- 📈 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:
- 📥 Import the collection from
postman/ - 🔧 Configure the environment
- 🚀 Start testing:
- Get your nonce token
- Set up authentication
- Explore endpoints
Gutenberg Block
- In the post editor, click the '+' button to add a new block
- Search for "SEO Analyzer" or find it in the "SEO Tools" category
- Add the block to your post
- 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:
- 🍴 Fork the repository
- 🌿 Create your feature branch
- ✨ Make your changes
- 🚀 Push to your fork
- 📬 Open a Pull Request
📄 License
Licensed under GPL-2.0 - see the LICENSE file for details.