Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to skip requiring mpdf? #123
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
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
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.