e2d726f29b
* build(deps): bump pragmarx/countries-laravel from 0.5.2 to 0.6.1 Bumps [pragmarx/countries-laravel](https://github.com/antonioribeiro/countries-laravel) from 0.5.2 to 0.6.1. - [Release notes](https://github.com/antonioribeiro/countries-laravel/releases) - [Changelog](https://github.com/antonioribeiro/countries-laravel/blob/master/CHANGELOG.md) - [Commits](https://github.com/antonioribeiro/countries-laravel/compare/v0.5.2...v0.6.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Fix countries config
56 lines
1.2 KiB
PHP
56 lines
1.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
'cache' => [
|
|
'enabled' => true,
|
|
|
|
'service' => PragmaRX\Countries\Package\Services\Cache\Service::class,
|
|
|
|
'duration' => 180,
|
|
|
|
'directory' => sys_get_temp_dir().'/__PRAGMARX_COUNTRIES__/cache',
|
|
],
|
|
|
|
'hydrate' => [
|
|
'before' => false,
|
|
|
|
'after' => false,
|
|
|
|
'elements' => [
|
|
'borders' => false,
|
|
'cities' => false,
|
|
'currencies' => false,
|
|
'flag' => false,
|
|
'geometry' => false,
|
|
'states' => false,
|
|
'taxes' => false,
|
|
'timezones' => true,
|
|
'timezones_times' => false,
|
|
'topology' => false,
|
|
],
|
|
],
|
|
|
|
'maps' => [
|
|
'lca3' => 'cca3',
|
|
'currencies' => 'currency',
|
|
],
|
|
|
|
'validation' => [
|
|
'enabled' => false,
|
|
'rules' => [
|
|
'country' => 'name.common',
|
|
'name' => 'name.common',
|
|
'nameCommon' => 'name.common',
|
|
'cca2',
|
|
'cca2',
|
|
'cca3',
|
|
'ccn3',
|
|
'cioc',
|
|
'currencies' => 'ISO4217',
|
|
'language_short' => 'ISO639_3',
|
|
],
|
|
],
|
|
|
|
];
|