redtally / currency-field_type
A currency dropdown field type.
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:streams-addon
pkg:composer/redtally/currency-field_type
This package is auto-updated.
Last update: 2025-09-23 13:33:43 UTC
README
This field type is a select based field type for ISO 4217 currency codes and HTML entities.
Installation
composer require redtally/currency-field_type
php artisan addon:install redtally.field_type.currency
Usage
See the configuration details for the select field type here: https://pyrocms.com/documentation/select-field-type/latest
Values
echo $aStream->currency_field; // outputs 'AUD'
Presenters
echo $aStream->decorated->currency_field->code();
outputs 'AUD'`
echo $aStream->decorated->currency_field->name();
outputs 'Australia'`
echo $aStream->decorated->currency_field->symbol();
outputs '$'