redtally / currency-field_type
There is no license information available for the latest version (1.0.0) of this package.
A currency dropdown field type.
1.0.0
2018-01-22 02:20 UTC
This package is auto-updated.
Last update: 2025-04-23 12:26:52 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 '$'