barrelstrength/sprout-base

Common libraries for Sprout Plugins for Craft CMS

Installs: 225 045

Dependents: 13

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 5

Open Issues: 0

Type:yii-module

pkg:composer/barrelstrength/sprout-base


README

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.