Skip to content

SeoFactory

  • Full name: \Codefy\Framework\Support\SeoFactory
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

thing

public static thing(string $type, array $data = []): \Melbahja\Seo\Schema\Thing
  • This method is static.

Parameters:

Parameter Type Description
$type string
$data array

schema

public static schema(\Melbahja\Seo\Interfaces\SchemaInterface $things): \Melbahja\Seo\Schema
  • This method is static.

Parameters:

Parameter Type Description
$things \Melbahja\Seo\Interfaces\SchemaInterface

metaTags

Initialize new meta tags builder.

public static metaTags(): \Melbahja\Seo\MetaTags
  • This method is static.

sitemap

Initialize new sitemap builder.

public static sitemap(string $domain, array $options = []): \Melbahja\Seo\Sitemap
  • This method is static.

Parameters:

Parameter Type Description
$domain string
$options array

robots

Generate robots.txt.

public static robots(): \Melbahja\Seo\Robots
  • This method is static.

ping

Initialize new sitemap ping.

public static ping(array $append = []): \Melbahja\Seo\Ping
  • This method is static.

Parameters:

Parameter Type Description
$append array

indexing

Initialize indexer.

public static indexing(string $host, array $keys): \Melbahja\Seo\Indexing
  • This method is static.

Parameters:

Parameter Type Description
$host string
$keys array


Automatically generated on 2025-10-13