Download the PHP package scandipwa/route717 without Composer

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

ScandiPWA Route717

Module is providing custom router to properly resolve HTTP codes on specific page request.

v1.1.0 update

Custom router is now checking theme type in order to support URL rewrites. You must ensure PWA theme type is set to 4 to utilize the options.

Installer is doing this automatically for any newly generated theme.

For already generated theme please update manually: set PWA theme type to 4 in theme table.

Installation

Description

Module is providing validators for such entities: 1) Product (/product) 2) Category (/category) 3) Cms pages (/page) 4) Cart (/cart) 5) Root (/)

How it works

Each frontend path (Magento 2 front name) should be added to validator list in src/etc/di.xml. Depending on entity type it might have more or less complex validation logic, to i.e. determine if specific product exists or not. Router is only responding 200 OK to entities, which it was able to validate. Otherwise it is falling back to default Magento 2 routers.

Customization

To add new path you must provide your own validator, that must implement ScandiPWA\Router\ValidatorInterface and register it as an array element passed to ScandiPWA\Router\ValidationManager using di.xml.

Accessing Magento 2 default routes

In order to allow Magento 2 to handle some routes in default manner (only serverside functionality) you must allow specific routes to be accessed by adding RegExp to src/app/etc/di.xml::ignoredURLs arguments list.

So far there are 3 paths whitelisted out of the box:


All versions of route717 with dependencies

PHP Build Version
Package 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 scandipwa/route717 contains the following files

Loading the files please wait ....