Download the PHP package johannschopplich/kirby-serp-preview without Composer

On this page you can find all versions of the php package johannschopplich/kirby-serp-preview. 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-serp-preview

Kirby SERP Preview

A standalone search engine result page preview to include in any Kirby project. It allows you to preview how your page will look in the search results of Google and other search engines.

[!TIP] New: Ready for Kirby 5! The plugin adapts to the Panel theme and uses Google's dark mode colors if the theme is set to dark.

Requirements

Kirby is not free software. However, you can try Kirby and the Starterkit on your local machine or on a test server as long as you need to make sure it is the right tool for your next project. … and when you're convinced, buy your license.

Installation

Composer

Download

Download and copy this repository to /site/plugins/kirby-serp-preview.

Getting Started

Create a new section in one of your blueprints. The following example includes all available options with their respective default values:

Usage

Page Title

[!TIP]

tl;dr The title is computed in the following order:

  1. titleContentKey
  2. defaultTitle
  3. Joining the page title, titleSeparator, and siteTitle.

By default, the SERP preview will render the title of the search engine result page preview by joining the following values with a space:

However, you can override the title generation above by using the following section properties:

Configuration

Each configuration option is of type string. Some of them support Kirby queries. For example, you can use {{ site.title.value }} for the siteTitle option.

The following table lists all available options:

Option Default Queryable Description
faviconUrl null The URL to the favicon.
siteTitle "{{ site.title.value }}" The site title.
siteUrl "{{ kirby.url }}" The site URL.
titleSeparator "-" The title separator between the current page title and the site title. Only applies if no titleContentKey is set and the target field value is empty.
titleContentKey null The content key for a custom title.
defaultTitle null Plain text or Kirby query to use as a fallback instead of 1️⃣2️⃣3️⃣ if the titleContentKey is empty.
descriptionContentKey null The content key for the page's custom description.
defaultDescription null Plain text or Kirby query to use as a fallback if the descriptionContentKey is empty.
searchConsoleUrl null If provided, the section will display a link to the Google Search Console.

License

Johann Schopplich

Dennis Baum


All versions of kirby-serp-preview with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^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 johannschopplich/kirby-serp-preview contains the following files

Loading the files please wait ....