Download the PHP package styladev/spryker-plugin without Composer

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

Styla Spryker Module

This module provides integration with Styla content management system. It embeds Styla content on your Spryker (via JS), takes care of routing for it and server-side rendering of HTML tags.

This documentation page should provide you an overview of how Styla works in general.

Installation

The Styla spryker module can be added to your spryker shop via composer:

Add the Styladev namespace to the spryker known namespaces within the configuration file:

Using GLUE API

Styla is using the glue api to allow the content creator to select products and for the visitor to allow the user to see more product details.

By default the glue api is not providing a product url which is necessary for the product integration. This plugin provides a transfer file to enable product urls in the glue api. To activate this please run the following command:

Now the glue api returns the necessary relative product url.

Configuration

Within the Spryker configuration for each locale the Styla client (you get it after signing contract) and additional the paths on which the styla integration should be displayed needs to be configured. The default configuration can be added to config_default.php and overridable with the more specific locale variants for example config_default_DE.php.

The configuration should look like this:

The paths are always from the root path (e.g. after domain) and can contain a pipe separated list. Wildcards needs to be flagged with an additional /.*.

For example if you have these list of pages:

the path configuration should look like:

In this case /inspiration and /magazine are wildcard urls and /my-world is a single page without a wildcard.

You can have Styla content on different path for each locale, for instance use /magazine for English and /magazin for German.

If you want to use your products in your Styla content, we will source it from your Spryker's Glue API. It needs to be configured on your end.


All versions of spryker-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
spryker/storage Version ^3.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 styladev/spryker-plugin contains the following files

Loading the files please wait ....