]> _ Git - cubist_locale.git/commitdiff
wip #2868 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 5 Jul 2019 11:46:19 +0000 (13:46 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 5 Jul 2019 11:46:19 +0000 (13:46 +0200)
.editorconfig [new file with mode: 0644]
.gitignore [new file with mode: 0644]
composer.json [new file with mode: 0644]
src/CubistLocaleProvider.php [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..6f313c6
--- /dev/null
@@ -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 (file)
index 0000000..8925195
--- /dev/null
@@ -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 (file)
index 0000000..3aff7e4
--- /dev/null
@@ -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 (file)
index 0000000..f7dfad8
--- /dev/null
@@ -0,0 +1,39 @@
+<?php
+
+namespace Cubist\Locale;
+
+use Illuminate\Support\ServiceProvider;
+
+class CubistBackpackServiceProvider extends ServiceProvider
+{
+    /**
+     * Indicates if loading of the provider is deferred.
+     *
+     * @var bool
+     */
+    protected $defer = false;
+
+    const NAMESPACE = 'cubist_locale';
+
+
+    /**
+     * Perform post-registration booting of services.
+     *
+     * @return void
+     */
+    public function boot()
+    {
+
+    }
+
+
+    /**
+     * Register any package services.
+     *
+     * @return void
+     */
+    public function register()
+    {
+
+    }
+}