Download the PHP package senseexception/intl-bundle without Composer
On this page you can find all versions of the php package senseexception/intl-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package intl-bundle
IntlBundle
Improved and simple Intl implementations for Symfony.
Installation
You can install it with Composer.
If the composer installation with symfony/flex didn't already register the bundle, you need to register it into your bundles.php manually:
Configuration
By default a configuration doesn't need to be added if the needed locale is en_US
and USD
the currency. For any other
locale or currency you can add the following configuration to your project and configure the needed locale and currency
values:
Usage
Formatter
The formatter can be used in two different ways: With a filter and a function
Filters
Internationalization text formatting:
Functions
Internationalization text formatting:
Currency symbol of configured locale:
Sorter
Example for configuring a sorter:
my_sorter
and sorter_wo_locale
are free choosable keys that will be used to create new service ids
budgegeria_intl_bundle.sorter.my_sorter
and budgegeria_intl_bundle.sorter.sorter_wo_locale
which
can be used as dependencies.
If a local is omitted like in budgegeria_intl_bundle.sorter.sorter_wo_locale
,
it uses the default locale set in the bundles configuration.
Available Configurations
Available are the method names of the Budgegeria\IntlSort\Sorter\Sorter
class as underscore values.
- enable_french_collation
- disable_french_collation
- lower_case_first
- upper_case_first
- remove_case_first
- enable_normalization_mode
- disable_normalization_mode
- enable_numeric_collation
- disable_numeric_collation
- enable_case_level
- disable_case_level
- non_ignorable_alternate_handling
- shifted_alternate_handling
- primary_strength
- secondary_strength
- tertiary_strength
- quaternary_strength
- identical_strength
- keep_keys
- omit_keys
- order_by_asc
- order_by_desc
- order_by_keys
- order_by_values
- null_first
- null_last
- remove_null_position
It's possible that you're using an older version of Intl-Sort where methods didn't existed yet. Read more about the methods in the Sorter documentation.
All versions of intl-bundle with dependencies
php Version ^8.1
senseexception/intl-format Version ^2.3
senseexception/intl-sort Version ^2.0
symfony/http-kernel Version ^5.4 || ^6.0 || ^7.0
symfony/http-foundation Version ^5.4 || ^6.0 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.0 || ^7.0
symfony/config Version ^5.4 || ^6.0 || ^7.0
symfony/twig-bundle Version ^5.4 || ^6.0 || ^7.0