From: Vincent Vanwaelscappel Date: Fri, 5 Jul 2019 11:46:19 +0000 (+0200) Subject: wip #2868 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a0e474c77bddf4fd30e55940f21563b71c37b5bb;p=cubist_locale.git wip #2868 @1 --- a0e474c77bddf4fd30e55940f21563b71c37b5bb diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6f313c6 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.yml] +indent_size = 2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8925195 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +vendor +composer.lock \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..3aff7e4 --- /dev/null +++ b/composer.json @@ -0,0 +1,48 @@ +{ + "name": "cubist\/locale", + "description": "Cubist Locale", + "type": "library", + "license": "proprietary", + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "psr-0": { + "Cubist\\Locale\\": "src" + }, + "files": [ + + ] + }, + "authors": [ + { + "name": "Vincent Vanwaelscappel", + "email": "vincent@cubedesigners.com" + } + ], + "require": { + "php": ">=7.1.3", + "umpirsky/locale-list": "^1.0", + "umpirsky/country-list": "^2.0" + }, + "require-dev": { + }, + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "laravel": { + "providers": [ + "Cubist\\Locale\\CubistLocaleServiceProvider" + ], + "aliases": { + + } + } + }, + "repositories": [ + { + "type": "composer", + "url": "https:\/\/composer.cubedesigners.com\/" + } + ] +} diff --git a/src/CubistLocaleProvider.php b/src/CubistLocaleProvider.php new file mode 100644 index 0000000..f7dfad8 --- /dev/null +++ b/src/CubistLocaleProvider.php @@ -0,0 +1,39 @@ +