PHPackages                             hryvinskyi/magento2-seo-robots-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. hryvinskyi/magento2-seo-robots-api

ActiveMagento2-module[API Development](/categories/api)

hryvinskyi/magento2-seo-robots-api
==================================

API interfaces for SEO Robots module with flexible directive management

2.0.1(3mo ago)265214MITPHP

Since Dec 22Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/hryvinskyi/magento2-seo-robots-api)[ Packagist](https://packagist.org/packages/hryvinskyi/magento2-seo-robots-api)[ RSS](/packages/hryvinskyi-magento2-seo-robots-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (4)

Hryvinskyi\_SeoRobotsApi
========================

[](#hryvinskyi_seorobotsapi)

API interfaces for SEO robots meta tags management in Magento 2.

> **Part of [hryvinskyi/magento2-seo-robots-pack](https://github.com/hryvinskyi/magento2-seo-robots-pack)** - Complete SEO Robots solution for Magento 2

Description
-----------

[](#description)

This module provides API interfaces and contracts for managing robots meta tags in Magento 2. It defines the service contracts that are implemented by the `Hryvinskyi_SeoRobots` core module.

Features
--------

[](#features)

- API interfaces for configuration management
- Robots list interface
- No implementation - pure interface definitions
- Follows Magento 2 service contract pattern

Interfaces
----------

[](#interfaces)

### ConfigInterface

[](#configinterface)

Provides methods to access robots configuration:

- `isEnabled()` - Check if robots functionality is enabled
- `getMetaRobots()` - Get URL pattern-based robots configuration
- `getHttpsMetaRobots()` - Get HTTPS-specific robots settings
- `isNoindexNofollowForNoRouteIndex()` - Check if 404 pages should have NOINDEX,NOFOLLOW
- `isPaginatedRobots()` - Check if paginated content should have custom robots
- `getPaginatedMetaRobots()` - Get paginated content robots type
- `isRobotsXheaderEnabled()` - Check if X-Robots-Tag HTTP header is enabled

### RobotsListInterface

[](#robotslistinterface)

Provides methods to get available robots directives:

- `getOptions()` - Get list of available robots options with labels

Usage
-----

[](#usage)

This module should not be used directly. Instead, use the implementation provided by `Hryvinskyi_SeoRobots`:

```
use Hryvinskyi\SeoRobotsApi\Api\ConfigInterface;

class YourClass
{
    private $config;

    public function __construct(ConfigInterface $config)
    {
        $this->config = $config;
    }

    public function isRobotsEnabled(): bool
    {
        return $this->config->isEnabled();
    }
}
```

Dependencies
------------

[](#dependencies)

- Magento 2.4+

Installation
------------

[](#installation)

This module is typically installed as part of the `hryvinskyi/magento2-seo-robots-pack` metapackage:

```
composer require hryvinskyi/magento2-seo-robots-pack
php bin/magento module:enable Hryvinskyi_SeoRobotsApi
php bin/magento setup:upgrade
php bin/magento cache:flush
```

Author
------

[](#author)

**Volodymyr Hryvinskyi**

- Email:

License
-------

[](#license)

MIT

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance79

Regular maintenance activity

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~372 days

Total

5

Last Release

112d ago

Major Versions

1.0.2 → 2.0.02026-01-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/e254b6c28f67e639b2beb3f21a80f2b4ff9efc5ee782943d497b73523f630c1d?d=identicon)[hryvinskyi](/maintainers/hryvinskyi)

---

Top Contributors

[![hryvinskyi](https://avatars.githubusercontent.com/u/9294098?v=4)](https://github.com/hryvinskyi "hryvinskyi (7 commits)")

### Embed Badge

![Health badge](/badges/hryvinskyi-magento2-seo-robots-api/health.svg)

```
[![Health](https://phpackages.com/badges/hryvinskyi-magento2-seo-robots-api/health.svg)](https://phpackages.com/packages/hryvinskyi-magento2-seo-robots-api)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[graycore/magento2-cors

A Magento 2 module that enables CORS on the GraphQL and REST Apis

99516.1k](/packages/graycore-magento2-cors)[elgentos/module-prismicio

Magento 2 - Prismic.io integration

39112.0k3](/packages/elgentos-module-prismicio)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
