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
mpdf is required in yii2-grid, but I'm not going to use this, that's a lot of code (161Mb) I don't need
there are lots of kartik extensions that are required by other extensions that I don't really need (e.g. star rating)
Is it possible to remove them from the composer files?
If people need them they should add them to their root composer file manually
The text was updated successfully, but these errors were encountered:
Will try to consolidate this - give me some time. Where possible I will try to exclude or make packages optional. It will require some validation and exception handling to be included in the code - else the extension will break without the dependency.
In some cases the entire package is required (for example yii2-widgets is one package - and unless each component of yii2-widgets is separated into various packages - you cannot separate the classes you require in package). This is the reason, I stopped adding any new widget to yii2-widgets and created other packages separately (like yii2-slider, yii2-daterange etc.)
Except for the mpdf third party library - most such dependent packages are small in size. You should normally not be worried, because these anyway will not be used in code if you are not using the related functionality.
mpdf is required in yii2-grid, but I'm not going to use this, that's a lot of code (161Mb) I don't need
there are lots of kartik extensions that are required by other extensions that I don't really need (e.g. star rating)
Is it possible to remove them from the composer files?
If people need them they should add them to their root composer file manually
The text was updated successfully, but these errors were encountered: