Download the PHP package dolphiq/redirect without Composer

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

Redirect Manager for Craft CMS

Create and manage 301 and 302 redirects, catch every 404, and turn missed URLs into redirects with a single click — straight from the Craft control panel.

Latest version Craft CMS 5 PHP 8.2+ Total installs

Actively maintained by Dolphiq. Redirect Manager is free and open source under the MIT license.


Why Redirect Manager?

Restructuring a site, migrating from an old CMS, or renaming pages? Don't lose your visitors — or your SEO ranking — to dead links. Redirect Manager lets editors and developers manage redirects themselves, without touching server config or deploying code.

Requirements

Version
Craft CMS 5.0 or later
PHP 8.2 or later

On an older Craft? Use the 2.x release line for Craft 4, or 1.x for Craft 3.

Installation

From the Craft Plugin Store — go to Settings → Plugins, search for Redirect Manager, and click Install.

With Composer:

That's it — open Site redirects in the control panel and add your first redirect.

Upgrading

Each release line tracks a Craft major. Upgrade Craft and the plugin together, one major at a time.

Plugin Craft PHP
1.x Craft 3 7.x – 8.0
2.x Craft 4 8.0.2+
3.x Craft 5 8.2+

After any upgrade, run the migrations (the control panel will also prompt you):

Craft 3 → 4 (1.x → 2.x)

Craft 4 → 5 (2.x → 3.x)

See the changelog for the full list of changes per version.

Usage

Add a redirect under Site redirects → New redirect. Pick a match type, enter a source and destination URL, choose the redirect type — and use Test this redirect to check a URL before saving.

A few common patterns:

Rename a page (exact match)

Redirect to another (sub)domain

Match a parameter and reuse it

Wildcards

docs/getting-started → help/getting-started. The * matches across path segments and is substituted into the matching * in the destination.

👉 See RULES.md for the full reference of matching rules and more examples.

Automatic redirects

When an entry's URI changes (you rename or move it), Redirect Manager creates a 301 from the old URI to the new one automatically — and removes any reverse redirect so renames can't loop. Toggle it with the autoCreateRedirectOnUriChange setting.

Import & export (CSV)

On the Site redirects → Import / Export page, use Export CSV to download all redirects, or Import CSV to bulk-add them. Columns: sourceUrl, destinationUrl, statusCode (a header row and blank/incomplete rows are skipped; missing status codes default to 301).

GraphQL

Query your redirects through Craft's GraphQL API:

Catch-all 404 handling

Enable Use a Catch All page template in the plugin settings and point it at a Twig template. Every URL that would otherwise 404 is then served by that template (with a proper 404 status) and recorded in the Registered catch all urls list — including a hit count and last-hit date.

Spot a URL that should point somewhere? Click it to create a redirect instantly.

Keep an eye on them from the dashboard with the Latest 404s widget:

Settings

Documentation

Roadmap

Have an idea or found a bug? Open an issue — contributions are welcome.

Credits

Created and maintained by Dolphiq — Johan Zandstra.

With thanks to all contributors, including Venveo (Ransom Roberson), 24hoursmedia, Mosnar, boscho87, HelgeSverre and ohlincik.

License

Released under the MIT License.


All versions of redirect with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
craftcms/cms Version ^5.0.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 dolphiq/redirect contains the following files

Loading the files please wait ...