barrelstrength/sprout-base

Common libraries for Sprout Plugins for Craft CMS


README

A collection of common classes and libraries for the Sprout Plugins Suite for Craft CMS.

Usage

Include Sprout Base in your Sprout plugin composer.json file:

{
  "require": {
    "barrelstrength/sprout-base": "^6.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.