Download the PHP package monsieurbiz/sylius-media-manager-plugin without Composer
On this page you can find all versions of the php package monsieurbiz/sylius-media-manager-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download monsieurbiz/sylius-media-manager-plugin
More information about monsieurbiz/sylius-media-manager-plugin
Files in monsieurbiz/sylius-media-manager-plugin
Package sylius-media-manager-plugin
Short Description Add a media manager to your Sylius.
License MIT
Informations about the package sylius-media-manager-plugin
Sylius Media Manager
This plugin adds a media manager to your images, videos and other files type fields in Sylius.
Compatibility
Sylius Version | PHP Version |
---|---|
1.11 | 8.0 - 8.1 |
1.12 | 8.1 - 8.2 |
1.13 | 8.1 - 8.2 |
Installation
If you want to use our recipes, you can configure your composer.json by running:
Install the plugin via composer:
Change your config/bundles.php
file to add this line for the plugin declaration:
Copy the plugin configuration files in your config
folder: https://github.com/monsieurbiz/symfony-recipes/tree/master/monsieurbiz/sylius-media-manager-plugin/1.0/config
Add these variables to your .env
:
Copy the templates in the folder dist/templates/
to ensure that form fields are rendered correctly:
Copy the form extension if you want to use it on your product images.
Else remove the file templates/bundles/SyliusAdminBundle/Form/imagesTheme.html.twig
Use form types
You can check the dist folder to check how the plugin is setup on the test application.
Images
Use MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\ImageType
Use MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\PdfType
Video
Use MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\VideoType
Favicon
Use MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\FaviconType
Audio
Use MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\AudioType
Contributing
You can find a way to run the plugin without effort in the file DEVELOPMENT.md.
Then you can open an issue or a Pull Request if you want! 😘
Thank you!
License
This plugin is completely free and released under the MIT License.