Download the PHP package scaleflex/sylius-filerobot-plugin without Composer
On this page you can find all versions of the php package scaleflex/sylius-filerobot-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download scaleflex/sylius-filerobot-plugin
More information about scaleflex/sylius-filerobot-plugin
Files in scaleflex/sylius-filerobot-plugin
Package sylius-filerobot-plugin
Short Description Acme example plugin for Sylius.
License
Informations about the package sylius-filerobot-plugin
Installation
Step 1: Download the plugin
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the plugin
Then, enable the plugin by adding it to the list of registered plugins/bundles in config/bundles.php file of your project:
Step 3: Configure the plugin
Update DB Schema
Add Admin route
Create file in and add content bellow
Update product media tab form
Change form theme in your
Update product grid thumbnail
Change grid thumbnail column template
Add script
Add config filter
Create a file and add content bellow
Update config in Admin
Goto Scaleflex Filerobot under Configuration
You can only enable if token, security template id are correct
- Activation: Enable/Disable Filerobot plugin
- Filerobot Token: Your Filerobot token
- Security Template Identifier: Your security template ID
- Filerobot upload directory: Folder path to your asset, ie /magento
Developer guide
The Filerobot plugin provide some twig method, filter support developer
- : Twig function check if image is filerobot
-
: Twig Filter, with image size, you can add more filter in
and in Twig
We have some default size follow Sylius default, you can override it in filter config above
-
If you use Scaleflex Filerobot on existing File you have to check the path is filerobot or not, if not use the default way
Example with Sylius default
All versions of sylius-filerobot-plugin with dependencies
sylius/sylius Version ^1.12
sylius/mailer-bundle Version ^1.8 || ^2.0@beta
symfony/webpack-encore-bundle Version ^1.15