Download the PHP package yakamara/yrewrite without Composer

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

YRewrite für REDAXO 6

YRewrite erzeugt sprechende URLs und verwaltet mehrere Domains in einer REDAXO-Installation. Aus index.php?article_id=13&clang=1 wird zum Beispiel /de/news/archiv/. Zusätzlich liefert das AddOn die SEO-Ausgabe (Meta-Tags, Open Graph, Canonical, hreflang), eine sitemap.xml und eine robots.txt je Domain.

Das ist yrewrite für REDAXO 6 (Composer-Paket yakamara/yrewrite, Namespace Yakamara\YRewrite, Branch 3.x).

Funktionen

Voraussetzungen

Installation

YRewrite wird in REDAXO 6 über Composer eingebunden.

  1. Paket im Projektverzeichnis installieren:

  2. AddOn installieren und aktivieren – im Backend unter AddOns oder über die Konsole:

  3. .htaccess einrichten: im Backend unter YRewrite → Setup auf .htaccess-Datei setzen klicken. Damit wird die Datei im öffentlichen Verzeichnis (public/) erstellt bzw. ersetzt, die für das Rewriting nötig ist. Eine bereits vorhandene .htaccess vorher sichern.

    Auf NGINX greift keine .htaccess. Dort die Rewrite-Regeln direkt im Server-Block hinterlegen.

  4. Mindestens eine Domain anlegen: YRewrite → Domains → +. Host, Startartikel und 404-Artikel angeben. Ohne konfigurierte Domain nutzt YRewrite automatisch den aktuellen Host.

Danach werden alle Frontend-URLs umgeschrieben.

Verwendung

SEO-Meta-Tags im <head> des Templates ausgeben:

URL und aktuelle Domain ermitteln:

Backend

Das AddOn legt unter AddOns → YRewrite folgende Reiter an:

URL und SEO-Daten lassen sich zusätzlich direkt im Artikel-Editor in der Seitenleiste pflegen.

Lizenz

MIT. Siehe Angaben in der composer.json.


All versions of yrewrite with dependencies

PHP Build Version
Package Version
Requires php Version >=8.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 yakamara/yrewrite contains the following files

Loading the files please wait ...