From 05fec2d2814877d55b14f6322b4b377776db861d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 5 Jul 2019 14:42:11 +0200 Subject: [PATCH] #2868 --- composer.json | 5 +++-- src/Country.php | 10 +++++++++ src/CubistLocaleProvider.php | 39 ------------------------------------ src/List.php | 25 +++++++++++++++++++++++ src/Locale.php | 8 ++++++++ 5 files changed, 46 insertions(+), 41 deletions(-) create mode 100644 src/Country.php delete mode 100644 src/CubistLocaleProvider.php create mode 100644 src/List.php create mode 100644 src/Locale.php diff --git a/composer.json b/composer.json index 3aff7e4..cf1222e 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,8 @@ "require": { "php": ">=7.1.3", "umpirsky/locale-list": "^1.0", - "umpirsky/country-list": "^2.0" + "umpirsky/country-list": "^2.0", + "laravel/framework": "^5.8" }, "require-dev": { }, @@ -32,7 +33,7 @@ }, "laravel": { "providers": [ - "Cubist\\Locale\\CubistLocaleServiceProvider" + ], "aliases": { diff --git a/src/Country.php b/src/Country.php new file mode 100644 index 0000000..9bd337d --- /dev/null +++ b/src/Country.php @@ -0,0 +1,10 @@ +