From 75a8dcaa3bd664efca92e8d37ee7606e8f4e0311 Mon Sep 17 00:00:00 2001 From: gmotov Date: Wed, 8 Oct 2025 22:39:18 +0300 Subject: [PATCH] Initial commit --- README.md | 0 composer.json | 19 +++++++++++++++++++ src/Generator.php | 26 ++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 README.md create mode 100644 composer.json create mode 100644 src/Generator.php diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..48a9b23 --- /dev/null +++ b/composer.json @@ -0,0 +1,19 @@ +{ + "name": "drobnitsa/dictionary-yii2-generator", + "description": "Генератор справочников для проектов", + "type": "yii2-extension", + "authors": [ + { + "name": "G.M.", + "email": "gmotov@gmail.com" + } + ], + "require": { + "yiisoft/yii2": "~2.0.0" + }, + "autoload": { + "psr-4": { + "drobnitsa\\DictionaryYii2Generator\\": "src/" + } + } +} diff --git a/src/Generator.php b/src/Generator.php new file mode 100644 index 0000000..cabdf3c --- /dev/null +++ b/src/Generator.php @@ -0,0 +1,26 @@ +