Skip to content

Commit

Permalink
Merge pull request #32 from ageekdev/feat/json-driver
Browse files Browse the repository at this point in the history
Feat/json driver
  • Loading branch information
tintnaingwinn authored Sep 2, 2024
2 parents 2dd4319 + 594ca7c commit 22c5efe
Show file tree
Hide file tree
Showing 16 changed files with 3,210 additions and 54 deletions.
16 changes: 16 additions & 0 deletions config/mm-name-converter.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

return [
'data_source_driver' => env('MM_NAME_CONVERTER_DATA_SOURCE', 'json'), // 'config' or 'json'

'data_source' => [
'json' => [
'en_filepath' => env('MM_NAME_CONVERTER_EN_JSON_PATH', './json/en-names.json'),
'mm_filepath' => env('MM_NAME_CONVERTER_MM_JSON_PATH', './json/mm-names.json'),
],
'config' => [
'en_filepath' => 'en-names-map',
'mm_filepath' => 'mm-names-map',
],
],
];
Loading

0 comments on commit 22c5efe

Please sign in to comment.