barrelstrength / sprout-base-fields
Common fields libraries for Sprout Plugins for Craft CMS
Package info
github.com/barrelstrength/sprout-base-fields
Language:JavaScript
Type:yii-module
pkg:composer/barrelstrength/sprout-base-fields
1.4.6
2022-11-04 21:11 UTC
Requires
- commerceguys/addressing: ^1.0.6
- craftcms/cms: ^3.1.0
- giggsey/libphonenumber-for-php: ^8.12.4
README
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.