Skip to content

barrelstrength/sprout-base-fields

Repository files navigation

Sprout Base Fields

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

Resources

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

Usage

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

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