From 86c2321fab56a4d07bfe9ab9e3c5ef660df5d1c5 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 3 Oct 2021 10:41:29 +0200 Subject: [PATCH] feat(Uuid): add module --- config.example.php | 3 ++- modules/uuid/uuid.php | 27 +++++++++++++++++++++++++++ modules/uuid/uuid_help.php | 10 ++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 modules/uuid/uuid.php create mode 100644 modules/uuid/uuid_help.php diff --git a/config.example.php b/config.example.php index a683c28..84ab178 100644 --- a/config.example.php +++ b/config.example.php @@ -23,7 +23,8 @@ return [ 'hash' => [], 'baseconverter' => [ 'alias' => ['encode', 'decode'] - ] + ], + 'uuid' => [] ], 'auth' => [ 'root' => 'password' diff --git a/modules/uuid/uuid.php b/modules/uuid/uuid.php new file mode 100644 index 0000000..0608c8a --- /dev/null +++ b/modules/uuid/uuid.php @@ -0,0 +1,27 @@ + [ + [ + 'name' => 'Generate compact uuid', + 'path' => '/?compact=yes' + ] + ] +];