Skip to content

A Catalog of 100 SEO Tools: Joomla 6 + a PHP Microservice

Cover: SEO tools catalog on Joomla 6 with a PHP microservice

In short

A SaaS catalog of about 100 SEO tools was built. Architecturally, the project is split into two layers: Joomla 6 handles the presentation (articles, menu, users), while a separate PHP microservice performs the substantive work — site analysis, content generation, neural network calls, and payment processing. The backend is pure PHP 8.3 with SQLite, no framework and no external dependencies.

Technology Stack

Technology Role
Joomla 6.1.3 CMS: articles, menu, categories, users
PHP 8.3 Microservice, analysis and generation logic
Javascript (ES6) Frontend: forms, fetch → JSON, Markdown rendering
SQLite Cache, quota, history, subscriptions, monitors
cURL Outbound HTTP requests to user sites
DeepSeek API AI utilities and AI generators
Payment provider (YooKassa) Subscription payment processing
Joomla Web Services Creating and updating articles via API

Task

The goal was to build a service where a user enters a site URL or a text fragment and receives one of several result types: a technical health score, a content analysis, generated meta tags, or neural network recommendations. Few tools were planned initially, but during development the catalog grew to approximately 100 items, distributed across five categories:

Category Number of tools Purpose
Technical Analysis ~28 page analysis, links, redirects, speed, SSL, Schema.org
Content & Texts ~10 text analysis, keywords, spelling, density, E-E-A-T
Indexing & Files ~16 robots.txt, llms.txt, sitemap, hreflang, Open Graph, SEF slugs
AI Utilities ~4 site audit, meta tag generator, hosting detection
AI Generators ~41 headlines, descriptions, FAQ, emails, press releases

A volume of this size cannot be maintained if each tool is implemented as an independent copy of the same code. The key requirement was efficiency through reuse of a single core.

Four additional constraints shaped the architecture:

Constraint Consequence
PHP hosting without Node, queues, or external services All logic implemented in PHP only
Paid LLM API Budget protection required
Catalog growth A single core instead of N separate implementations
Changing design Strict separation of logic from presentation

Architectural Decision: Two Layers

The term "microservice" here denotes a concrete object — a separate folder of PHP code located on the same hosting as the CMS. This program runs independently of Joomla and carries the main computational load.

The interaction can be described as follows: the CMS provides the user interface (pages with forms and buttons), while the microservice receives requests and returns ready JSON data. The presentation layer performs no computation — it only renders the form and the result.

flowchart TB
    subgraph CMS["Joomla 6.1 — presentation"]
        A["About 100 article pages<br>layout and forms"]
        B["Three-level menu,<br>five categories, users"]
        C["Child template<br>Cassiopeia"]
    end
    subgraph API["Microservice — pure PHP"]
        D["Router — request dispatch<br>across modules"]
        E["Modules: HTTP client, analyzer,<br>checks, scoring, LLM, quota,<br>payments, subscription, monitoring"]
        F["SQLite — cache, quota,<br>history, subscriptions"]
    end
    B --> A
    A -->|"fetch → JSON"| D
    D --> E
    E --> F

The choice of this separation is justified by the following:

  • tools are simpler to implement in pure PHP, without CMS overhead;
  • cache, quotas, and subscriptions live in one SQLite file, independent of Joomla tables;
  • the frontend (Javascript) is separated from logic at the protocol level via fetch → JSON;
  • the core can run standalone, outside the CMS.

Server Module Structure

api/
├── index.php          — router: request dispatch
├── lib/
│   ├── bootstrap.php  — settings loading, CORS, autoloading
│   ├── secrets.php    — secrets (API keys and service tokens)
│   ├── HttpClient.php — HTTP requests with redirects, headers and timeouts
│   ├── Analyzer.php   — orchestration: URL validation, guard, runs checks
│   ├── Checks.php     — a set of checks (~20 signals)
│   ├── Scorer.php     — collapsing metrics into a score /100
│   ├── Cache.php      — result cache and rate limiting
│   ├── AiQuota.php    — daily LLM request limit
│   ├── DeepSeek.php   — LLM provider wrapper
│   ├── History.php    — per-user history
│   ├── JSession.php   — sessions
│   ├── Subscription.php — subscriptions
│   ├── Monitor.php    — availability monitoring
│   ├── Mailer.php     — mail sending
│   └── YooKassa.php   — payment processing
└── data/cache.sqlite  — cache, quota, history, subscriptions, monitors

Server Module Entry Points (Routes)

Interaction between the pages and the server module is built on a set of entry points — addresses to which the frontend sends requests and receives JSON responses. Each tool, upon completing input, calls its corresponding entry point.

The main groups of entry points correspond to the purpose of the tools:

Group Purpose
page analysis technical health assessment and site structure
text analysis readability, keyword density, spelling
link checking detection of broken internal and external links
file generation robots.txt, llms.txt, sitemap, Open Graph
neural network calls audit, meta tag generation, text processing
service cabinet, feedback, bulk checks, payments, monitoring

The number of tools and the number of entry points should be distinguished. There are about a hundred tools, but only a few dozen entry points. The reason is that text generators (headlines, descriptions, FAQ, emails, press releases, and others) use the same neural-network-call mechanism, differing only in system prompt and output template, rather than in a separate server implementation. Likewise, technical checks partly rely on the shared analysis module.

This ratio reflects the essence of the architecture: outwardly the catalog looks like a hundred independent tools, whereas at the implementation level they are served by a compact set of reusable entry points and a single core.

Unified Analysis Module

The core consists of three components: the analyzer (Analyzer.php), the check set (Checks.php), and the scoring module (Scorer.php). They are implemented once and reused by several tools: the page analyzer, the technical audit, the link checker, and the AI audit module, which passes the gathered facts to the neural network.

The checks (~20 signals) are grouped into four metrics:

Metric Checked parameters
Technical SEO HTTPS, redirects, status code, response time, robots, sitemap, canonical
Content title, description, H1, JSON-LD, OpenGraph, text volume, alt
Indexation robots.txt, meta noindex, canonical
Links internal and external, broken (HEAD), nofollow

The scoring module converts the metrics into a final score on a 0–100 scale with weight coefficients. The numerical score serves two purposes: it is shown to the user on the tool page and passed to the neural network as structured facts (for example, "score 74/100, missing canonical, description length 80 characters"), so recommendations are concrete rather than generic.

The neural network API is billed by usage, while the tools are available to any visitor, including anonymous ones. Protection is implemented in four layers:

  1. URL cache. A repeated request to the same address is returned from cache without calling the neural network — the repeat costs zero.
  2. Daily quota. Non-subscribed users have a daily request limit. The identifier is computed in cascade (user_id → cookie → IP), so changing the IP address does not bypass the limit, while authorization lifts it.
  3. Server-side request forgery protection (SSRF). Before any outbound request, local addresses, cloud metadata, and private subnets are blocked.
  4. Key isolation. The LLM provider key is stored server-side and never sent to the browser: the frontend calls its own PHP handler, which performs the provider call itself.

Subscription Payments and User Cabinet

In addition to free access, the service implements a paid subscription:

  • a pricing page with plan selection;
  • payment creation through a payment provider with a fiscal receipt;
  • a webhook that receives the successful-payment notification, validates the source, and idempotently activates the subscription;
  • a request quota that depends on the active plan.

The user cabinet combines the profile, the active plan, the quota balance, the request history, and configured availability checks. Monitoring runs on a schedule: the server periodically checks the availability of user sites and writes the result to storage for display in the cabinet.

Catalog Structure

The catalog menu is built on Joomla categories and has three levels of nesting. Each tool is represented by a pair of elements:

  1. a Joomla article containing the page layout, a form, and a frontend script;
  2. a route in the server module that performs the substantive processing.

The "tool ↔ documentation" link is implemented through configurable fields: a tool article references an instruction, and a documentation article references the corresponding tool. Mutual links are rendered as buttons through an article-output template override.

Home
Tools
  ├─ Technical Analysis (~28)
  ├─ Content & Texts (~10)
  ├─ Indexing & Files (~16)
  ├─ AI Utilities (~4)
  └─ AI Generators (~41)
Pricing
Documentation

Result

The following was assembled and put into operation:

  • ~100 tools in five categories with a three-level menu and paired documentation;
  • a microservice in pure PHP 8.3 with no framework or external libraries;
  • a unified analysis module — ~20 checks collapsed into four metrics and a 0–100 score;
  • paid LLM API protection — cache, cascaded quota, SSRF guard, key isolation;
  • subscription payments with a fiscal receipt;
  • a user cabinet and scheduled availability monitoring;
  • search optimization — unique service tags for tools and documentation pages, a sitemap, canonical addresses against pagination duplicates, an analytics counter.

The entire functionality runs on a standard PHP host, without Node services, message queues, or external libraries on the backend.

Conclusions

  1. A "CMS + microservice" split is more effective than implementing logic inside the CMS. Complex processing in pure PHP is maintained faster, while the CMS serves only the presentation function.
  2. A single core instead of many copies. One analysis module and one LLM client are used by all tools; adding a new tool reduces to an article and a route, without code duplication.
  3. Paid API protection consists of independent layers. Cache, cascaded quota, SSRF guard, and key isolation jointly preserve the budget.
  4. An SQLite database suffices for service data. Cache, quotas, history, and subscriptions live in one file and require no separate database server.
  5. Zero external dependencies is achievable. cURL, SQLite, and native JSON serialization cover the full task set: HTTP, caching, limits, payments, monitoring, and LLM calls.

See Also