Download the PHP package wanze/seo-maestro without Composer

On this page you can find all versions of the php package wanze/seo-maestro. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package seo-maestro

Seo Maestro

StyleCI License: MIT ProcessWire 3

A ProcessWire module helping you to manage SEO related tasks like a boss! 😎✌ī¸

Here is an example of all rendered meta data you will get from a SeoMaestro field:

Requirements

Installation

Install the module from the modules directory or with Composer:

Configuration

The Seo Maestro module offers the following configuration:

Change sitemap.seomaestro.xml to sitemap.xml once you checked that the sitemap file is correct. The default name reduces the risk to accidentally overwrite an already existing file.

Configure Meta Data and Sitemap Settings for Pages

The meta data and the sitemap configuration of each page is managed with the included Fieldtype. Go ahead and create a new field of type Seo Maestro, a good name for the field is seo 😄.

ℹī¸ Edit the field in the context of a template to override any of the default data per template.

XML Sitemap

If enabled, the module hooks after ProcessPageView::finished to generate the XML sitemap after the request has been handled by ProcessWire.

Do not forget to submit the sitemap to Google, either in the Search Console or by specifying the path in a robots.txt file.

⚠ If your installation has lot of pages and the request takes too long to generate the sitemap, or if you run into memory problems, it is better disable the automatic generation. Use the \SeoMaestro\SitemapManager class to create the sitemap on your own, e.g. via CLI script.

Meta Data

Common

Common meta tags that are not managed with the fieldtype, but rendered by default.

Tag Description
<link rel="alternate"> Contains the local url of each active page on multi language sites.
<meta name="generator"> Let anyone know that your site is powered by ProcessWire ❤ī¸

Fieldtype

The following meta data is managed for each page via Seo Maestro field. Meta tags are organized in so called groups.

Group Tags Description
meta title
description
keywords
canonicalUrl
Holds the famous title and description tags that should be optimized for search engines. It is also possible to set a custom canonical URL which by default equals the page's url.
opengraph title
description
image
imageAlt
type
image
locale
siteName
Opengraph meta data is read by facebook and other social networks. By default, title and description inherit the values from the meta group. If an image is specified, the og:image:width, og:image:height and og:image:type tags are included automatically at render time.
twitter card
site
creator
Twitter reads the Opengraph meta data as well, except for a few specific tags managed by this group.
robots noIndex
noFollow
Should robots index a page and follow its links?
structuredData breadcrumb Whether to render structured data (JSON-LD) for breadcrumbs.

Webmaster Tools

If you add the Google and Bing verification codes in the Webmaster Tools section when editing a field, the following meta tags are rendered additionally:

Tag Description
<meta name="google-site-verification"> Contains the Google verification code.
<meta name="msvalidate.01"> Contains the Bing verification code.

Output Meta Tags

Meta tags must be rendered in the <head> region of your templates:

API

The module offers an easy-to-use API to retrieve and modify meta data and sitemap configuration for pages:

Values are always set for the current language. Switch the user's language to set values in a different language:

Available Selectors

The Seo Maestro fieldtype does not support to query meta data with selectors, e.g. seo.meta.title%=foo won't work. All meta data is stored as JSON, allowing to add new data anytime without the need to change the database schema. However, the module stores some useful flags whenever a page is saved, and these flags can be used in selectors:

Examples

Find all pages included in the sitemap:


Find all pages excluded from the sitemap inheriting all meta and opengraph data:

Hooks

Several hooks are available for developers to customize the behaviour of the module.

___renderMetatags

Add, remove or modify the rendered metatags of a group.

___renderSeoDataValue

Modify the value of meta data after being rendered.

___alterSeoDataForm

Customize the inputfields of the form containing the SEO data, e.g. change collapsed states or descriptions.

___sitemapAlwaysExclude

Specify pages that should never appear in the sitemap, regardless of sitemap settings on page level. The 404 page is excluded by default.

___sitemapItems

Add or modify items in the sitemap.

Running Tests

The module includes PHPUnit based tests cases, located in the ./tests directory.

To run the tests:


All versions of seo-maestro with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
composer/installers Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wanze/seo-maestro contains the following files

Loading the files please wait ....