Download the PHP package gioppy/statamic-metatags without Composer

On this page you can find all versions of the php package gioppy/statamic-metatags. 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 statamic-metatags

Statamic Meta tags

This is an add-on for Statamic 5. It gives the ability to manage and customize almost every created meta tags!

Meta Tags index Blueprints Default values

Supperted Meta tags

If you think that some meta tags are missing, open a PR!

Installation

If you are on an older version of Statamic, please use one of these depending on your installed version.

Statamic < 3.3

Statamic >= 3.3 and < 4.0

Statamic >= 4.0 and < 5.0

How to use

All meta tags are injected dynamically within an entry or term depending on the options selected for each individual blueprint.

In the blueprints section, under Meta Tags, you can select all the categories you want to activate for each individual blueprint. At the moment it is possible to enable meta tags only for collections and taxonomies.

In your template, remove the title tag in layout.antlers.html. For every category of meta tags you have a antlers tag to use it:

{{ metatags:basic }}
{{ metatags:advanced }}
{{ metatags:dublin_core }}
{{ metatags:dublin_core_advanced }}
{{ metatags:opengraph }}
{{ metatags:facebook }}
{{ metatags:twitter }}
{{ metatags:pinterest }}
{{ metatags:google_search }}
{{ metatags:site_verifications }}
{{ metatags:app_links }}
{{ metatags:mobile }}
{{ metatags:apple }}
{{ metatags:android }}
{{ metatags:favicons }}

Upgrade from previous versions

Upgrading from previous versions should not cause you to lose any data within entries or terms. However, you will need to re-configure all meta tags within all blueprints.

First clear the fieldset metatags from all your blueprints. Make sure not to save any content at this stage otherwise your meta tags will be deleted!

Set the meta tags you want to use for each blueprint and the common meta tags.

Check that, by editing an entry or term, you correctly see the newly SEO tab and the values of the meta tags fields.

Edit your layout.antlers.html by replacing the {{ metatags }} tag with new antlers tags, depending on the categories you have enabled.

[!WARNING] Google+ and Google CSE meta tags are no longer available!

Credits

The add-on was inspired by the excelent Metatag Drupal module.


All versions of statamic-metatags with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
statamic/cms Version ^4.0|^5.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 gioppy/statamic-metatags contains the following files

Loading the files please wait ....