A collection of common reports classes and libraries for the Sprout Plugins Suite for Craft CMS.
Include Sprout Base Reports in your Sprout plugin composer.json file:
{
"require": {
"barrelstrength/sprout-base-reports": "^1.0.0"
}
}
See this article on Creating a Yii Module for Craft 3 for an example of how to load the Sprout Base Yii Module to the Craft::$app
instance and create controllers and variables.