Download the PHP package wepesi/metadata without Composer

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

Wepesi Metadata generator

Meta tags for SEO are key because they tell search engines what a page is about. Think of them as the first impression for all search engines.

Metadata generator help you generate metadata for your web page with caring about the platform to be suppoterd. The oly thing is to provide information required.

Installation

Usage

The fist step required to is to call structure a static method that give u the possibility to access the method defined.

To get a structure of data to be display method are used

In case there is no element defined if will return en empty array and the build will be without information.

All known metadata method has been define for: title,lang,cover,author,descriptions,type,link,follow,keyword,index,nofollow,noIndex,canonical.

Generate the meta tag

The generate() or toHtml() method will help to generate the metadata tag to be display in your head html tags,

More about metadata methods

Description

To build a useful metadata, method are well design to help no struggle with it.

title method

The title tag is the first HTML element that specifies what your web page is about. Title tags are important for SEO and visitors because they appear in the search engine results page (SERP) and in browser tabs.

lang method

A meta lang is an HTML element that help to set the language of the webpage.

cover method

A meta cover is an HTML element that help to set the image to be play on the card that will be display. supported image are jpg and png.

author method

A meta author is an HTML element that help to provide more detail about the author.

description method

A meta description is an HTML element that sums up the content on your web page. Search engines typically show the meta description in search results below your title tag.

type method

The type help to define whether it's about an article or website or a blog, there few types of metadata {article,blog,...}

link method

The link method help to define whether the website link or the link of your article for redirection. in case of an article you should provide the link of the blog post, to help reach directly to the post.

Robots Meta Tag

List a tags to be applied e.g.,: follow,index,nofollow,noindex FOLLOW: The search engine crawler will follow all the links in that webpage, INDEX: The search engine crawler will index the whole webpage. NOFOLLOW The search engine crawler will NOT follow the page and any links in that webpage. NOINDEXThe search engine crawler will NOT index that webpages.

Use the following syntax for your robots meta tag: Oly 2 Robots tags can be used

in case you don't need to index and follow the pages use:

checkout they would be the output for both example

keywords method

It’s used to add keyword witch will be help for the search engine to easily map your website. It takes parameter as string if you have one keyword, by in other way u can pass an array with multiple keyword

canonical method

It’s used to indicate that there are other versions of this webpage. By implementing the canonical tag in the code, your website tells search engines that this URL is the main page and that the engines shouldn’t index other pages.


All versions of metadata with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4||^8.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 wepesi/metadata contains the following files

Loading the files please wait ....