This repository has been archived on 2025-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
Files
lean_in_world/config/currency.php
meghamalore eed0ce11d2 first commit
2024-07-04 16:57:26 +05:30

124 lines
3.5 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Application Currency
|--------------------------------------------------------------------------
|
| The application currency determines the default currency that will be
| used by the currency service provider. You are free to set this value
| to any of the currencies which will be supported by the application.
|
*/
'default' => 'USD',
/*
|--------------------------------------------------------------------------
| API Key for OpenExchangeRates.org
|--------------------------------------------------------------------------
|
| Only required if you with to use the Open Exchange Rates api. You can
| always just use Yahoo, the current default.
|
*/
'api_key' => '594da404559890224c25d4f0c311cc95',
/*
|--------------------------------------------------------------------------
| Default Storage Driver
|--------------------------------------------------------------------------
|
| Here you may specify the default storage driver that should be used
| by the framework.
|
| Supported: "database", "filesystem"
|
*/
'driver' => 'database',
/*
|--------------------------------------------------------------------------
| Default Storage Driver
|--------------------------------------------------------------------------
|
| Here you may specify the default cache driver that should be used
| by the framework.
|
| Supported: all cache drivers supported by Laravel
|
*/
'cache_driver' => null,
/*
|--------------------------------------------------------------------------
| Storage Specific Configuration
|--------------------------------------------------------------------------
|
| Here you may configure as many storage drivers as you wish.
|
*/
'drivers' => [
'database' => [
'class' => \Torann\Currency\Drivers\Database::class,
'connection' => null,
'table' => 'currencies',
],
'filesystem' => [
'class' => \Torann\Currency\Drivers\Filesystem::class,
'disk' => null,
'path' => 'currencies.json',
],
],
/*
|--------------------------------------------------------------------------
| Currency Formatter
|--------------------------------------------------------------------------
|
| Here you may configure a custom formatting of currencies. The reason for
| this is to help further internationalize the formatting past the basic
| format column in the table. When set to `null` the package will use the
| format from storage.
|
| More info:
| http://lyften.com/projects/laravel-currency/doc/formatting.html
|
*/
'formatter' => null,
/*
|--------------------------------------------------------------------------
| Currency Formatter Specific Configuration
|--------------------------------------------------------------------------
|
| Here you may configure as many currency formatters as you wish.
|
*/
'formatters' => [
'php_intl' => [
'class' => \Torann\Currency\Formatters\PHPIntl::class,
],
],
'currencies' => [
'USD' => 'United States Dollar',
'EUR' => 'Euro',
'GBP' => 'British Pound Sterling', // Adding GBP
// Add other currency values here
// Add other currency values here
],
];