You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(cd ${APP_DIR}&&${COMPOSER} require --no-install --no-scripts --no-progress sylius/sylius="~${SYLIUS_VERSION}") # Make sure to install the required version of sylius because the sylius-standard has a soft constraint
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,17 @@
9
9
10
10
This plugin adds a media manager to your images, videos and other files type fields in Sylius.
11
11
12
-

12
+

13
+

14
+

13
15
14
16
## Compatibility
15
17
16
-
| Sylius Version | PHP Version |
17
-
|----------------|-----------------|
18
-
| 2.0, 2.1 | 8.2 - 8.3|
18
+
| Sylius Version | PHP Version |
19
+
|----------------|-------------|
20
+
| 2.0, 2,1 | 8.2 - 8.3 |
19
21
20
-
ℹ️ For Sylius 1.x, see our [1.x branch](/tree/1.x) and all 1.x releases.
22
+
ℹ️ For Sylius 1.x, see our [1.x branch](https://github.com/monsieurbiz/SyliusMediaManagerPlugin/tree/1.x) and all 1.x releases.
21
23
22
24
## Installation
23
25
@@ -48,7 +50,7 @@ return [
48
50
];
49
51
```
50
52
51
-
Copy the plugin configuration files in your `config` folder: https://github.com/monsieurbiz/symfony-recipes/tree/master/monsieurbiz/sylius-media-manager-plugin/3.0/config
53
+
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
52
54
53
55
Add these variables to your `.env` :
54
56
@@ -97,6 +99,10 @@ Use `MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\FaviconType`
97
99
98
100
Use `MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\AudioType`
99
101
102
+
### All the previous file types
103
+
104
+
Use `MonsieurBiz\SyliusMediaManagerPlugin\Form\Type\FileType`
105
+
100
106
## Configuration
101
107
102
108
You can specify the default maximum file size allowed for the media manager by setting the `MONSIEURBIZ_SYLIUS_MEDIA_MANAGER_MAX_FILE_SIZE` environment variable.
0 commit comments