Skip to content

Common libraries for Sprout Plugins for Craft CMS.

License

Notifications You must be signed in to change notification settings

barrelstrength/sprout-base

Repository files navigation

Sprout Base

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

Resources

  • Report issues to the appropriate Sprout plugin repository.
  • Pull Requests should reference an open issue in the appropriate Sprout plugin repository

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.