Download the PHP package opengento/module-store-path-url without Composer

On this page you can find all versions of the php package opengento/module-store-path-url. 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 module-store-path-url

Store Path Url Module for Magento 2

Latest Stable Version Packagist Packagist

This module allows to override the store code in url with another path value.

Setup

Magento 2 Open Source or Commerce edition is required.

Composer installation

Run the following composer command:

Setup the module

Run the following magento command:

If you are in production mode, do not forget to recompile and redeploy the static resources.

Features

The module allows to replace the store code in url with the following options:

This module also allows you to remove the store path in the url for websites with a single store view. This may be useful for stores with dedicated domains. This setting is automatically enabled if you choose to use the custom mapper. However, if a single store exists for a website, and a path is setup within the mapper, the path is not unset, meaning that the path configured in the mapper is used.

Besides that, this module makes the usage of the MAGE_RUN_TYPE and MAGE_RUN_CODE variables optionals. Magento is going to be able to resolve the correct store based on its base web URL. This setting can be disabled, see "Use Base Url Resolver".

Settings

The configuration for this module is available in Stores > Configuration > Web > Url.

Documentation

In order to use this module, you must enable the following setting: "Add Store Code to Urls" (web/url/use_store).
A new field is added in the configuration: "Store Path Url" and "Custom Path Mapper" if the "custom" value is selected.
The store path config are:

Support

Raise a new request to the issue tracker.

Authors

License

This project is licensed under the MIT License - see the LICENSE details.

That's all folks!


All versions of module-store-path-url with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
psr/log Version *
magento/framework Version *
magento/module-config Version *
magento/module-directory Version *
magento/module-store Version *
magento/module-url-rewrite Version *
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 opengento/module-store-path-url contains the following files

Loading the files please wait ....