Download the PHP package sulu/redirect-bundle without Composer

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

SuluRedirectBundle

Official Sulu Bundle Badge

GitHub license GitHub tag (latest SemVer) Test workflow status Sulu compatibility


The SuluRedirectBundle adds simple but powerful capabilities for managing redirects to Sulu’s administration interface and allows content managers to manage redirects without any knowledge of web servers.


SuluRedirectBundle Slideshow


The SuluRedirectBundle is compatible with Sulu starting from version 2.0. Have a look at the require section in the composer.json to find an up-to-date list of the requirements of the bundle.

🚀  Installation and Documentation

Execute the following composer commands to add the bundle to the dependencies of your project:

Afterwards, visit the bundle documentation to find out how to set up and configure the SuluRedirectBundle to your specific needs.

💡  Features

Importing redirects

One of the great features of this bundle is the ability to import redirects from a CSV file. The most simplified file just contains two columns, source and target. Of course, all the other options like statusCode, sourceHost, and enabled can also be set in the import file.

It’s also possible to override existing redirects with an import; you just have to set the same value for source.

Enabling and disabling redirects

Sometimes it’s necessary to prepare redirects which are not ready yet, especially if you have a large number of redirects. Of course there’s a solution for that — toggler in the toolbar to enable or disable redirects quickly. This allows you to import a large number of disabled redirects and then check them in the administration interface, before enabling them when needed.

Different statuses

The SuluRedirectBundle comes with three different statuses to be used for redirects:

Those status codes are explained in detail here.

Automatic Gone redirects

This bundle also adds the possibility to automatically create redirects with status 410 Gone, if a page or a entity with a route has been removed. This is very useful, because now search engines know, that this page has been deleted.

Route Priorities

Redirects created via this bundle will only be used if no other route matches the given URL. This ensures that accidentally created or imported redirects do not affect existing pages. If a redirect matches the URL of an existing page, the redirect will only be effective after the page was unpublished.

In combination with the SuluAutomationBundle, this behaviour makes it possible to precautionarily create a redirect for the URL of an existing page that will be unpublished at a specified time in the future by the SuluAutomationBundle.

❤️  Support and Contributions

The Sulu content management system is a community-driven open source project backed by various partner companies. We are committed to a fully transparent development process and highly appreciate any contributions.

In case you have questions, we are happy to welcome you in our official Slack channel. If you found a bug or miss a specific feature, feel free to file a new issue with a respective title and description on the the sulu/SuluRedirectBundle repository.

📘  License

The Sulu content management system is released under the terms of the MIT License.


All versions of redirect-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
sulu/sulu Version ^2.2.5 || ^2.3@dev
ramsey/uuid Version ^3.1 || ^4.0
symfony/dependency-injection Version ^4.3 || ^5.0 || ^6.0
symfony/config Version ^4.3 || ^5.0 || ^6.0
symfony/console Version ^4.3 || ^5.0 || ^6.0
symfony/http-foundation Version ^4.3 || ^5.0 || ^6.0
handcraftedinthealps/rest-routing-bundle Version ^1.0
friendsofsymfony/rest-bundle Version ^2.8 || ^3.0
symfony/http-kernel Version ^4.3 || ^5.0 || ^6.0
doctrine/orm Version ^2.5.3
symfony/event-dispatcher Version ^4.3 || ^5.0 || ^6.0
symfony/property-access Version ^4.3 || ^5.0 || ^6.0
symfony/routing Version ^4.3 || ^5.0 || ^6.0
symfony-cmf/routing Version ^2.1 || ^3.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 sulu/redirect-bundle contains the following files

Loading the files please wait ....