Download the PHP package diesdasdigital/kirby-meta-knight without Composer

On this page you can find all versions of the php package diesdasdigital/kirby-meta-knight. 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 kirby-meta-knight

Meta Knight – SEO for Kirby

Meta Knight is a SEO and Social Media Sharing Plugin for Kirby. Meta Knight makes it easier to work with meta information in Kirby's panel.

Meta Knight provides blueprints, snippets and custom preview sections. At the moment the plugin covers:

All of the above is neatly organized in a pre-composed SEO tab that can easily be added to any blueprint.

This plugin was originally developed at diesdas.digital by Jonathan Muth, Lorenz Seeger and Leslie Büttel. Meta Knight exists because we wanted to standardize the way we handle meta information across all our projects.

We'd also like to thank @distantnative for his help along the way! Without him this plugin wouldn't be what it is today.

Config options

Site title

Order

By default the Page Title will be rendered before the Site Title. Resulting in a title tag that looks like this: <title>Page Title – Site Title</title>. If you want the Site Title to come first, simply add the following lines to your Kirby config.php file:

You'll then get a title tag that looks like this: <title>Site Title – Page Title</title>.

Customize home page title

By default the title tag of the home page will include both the page title and the site title and look like this: <title>Page Title – Site Title</title>. If you want to only display the site title on the homepage, simply add the following lines to your Kirby config.php file:

The title tage of your home page will then look like this: <title>Site Title</title>

The same can be done with the page title on the homepage

will result in <title>Page Title</title>

Keep in mind: Both options cannot be enabled at the same time.

Customizeable page title | site title separator

The separator between page title and site title can be customized like this:

The default value is |.

Canonical URLs

Meta Knight gives you control over how the auto-generated canonical URLs for your pages are rendered. By default canonical URLs do not include the www. subdomain. If you wish the canonical URLs to include www. please set the following option in config.php:

Please note:


Installation

Download

Download and copy this repository to /site/plugins/kirby-meta-knight.

Git submodule

Composer

Setup

How to add Meta Knight to Kirby:

  1. Add this tab to your site's blueprint (site.yml): seotab: seo (Meta Knight uses the site's meta information as a fall back when no meta information is provided for a page)

  2. Add this tab to all your page blueprints: seotab: seo

  3. Add these two snippets to your head: +

Example:

Options

Currently the plugin isn't configurable via the config.php file. This is something we are thinking about adding in a future release.

Development

Development

You can start the dev process with …

This will automatically update the index.js and index.css of Meta Knight as soon as you make changes. It will also enable hot module reloading in the panel. Reload the panel once and afterwards you should see changes immediately without further reloading.

Production

As soon as you are happy with the changed you've made to Meta Knight, you should build the final version with

This will automatically create a minified and optimized version of your index.js and index.css that will improve load time in production environments.

License

MIT – See LICENSE.md for more info.

Credits


All versions of kirby-meta-knight with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^1.1
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 diesdasdigital/kirby-meta-knight contains the following files

Loading the files please wait ....