From 090ac601a5c1a267eb8644939f9151fb8d5f5e85 Mon Sep 17 00:00:00 2001 From: Tobias Feigel Date: Sun, 13 Jul 2025 16:48:47 +0200 Subject: [PATCH] feat: add `mzur/kirby-uniform` plugin and update `.gitignore` Included the `mzur/kirby-uniform` plugin in `composer.json` for enhanced form handling functionality. Updated `.gitignore` to exclude `/site/plugins/` for better project structure and version control. --- .gitignore | 2 + composer.json | 3 +- composer.lock | 179 +++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 182 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b41c274..afda6ef 100644 --- a/.gitignore +++ b/.gitignore @@ -55,6 +55,7 @@ Icon /kirby /media /vendor +/site/plugins/ # Node # --------------- @@ -63,3 +64,4 @@ Icon # CSS files # --------------- assets/css/styles.css + diff --git a/composer.json b/composer.json index fa37377..07db368 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,8 @@ }, "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", - "getkirby/cms": "^5.0" + "getkirby/cms": "^5.0", + "mzur/kirby-uniform": "^5.6" }, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index 20135ef..e76fe3a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "43770e3691ceb6a19553beb3dbca1057", + "content-hash": "9c8fcd821a223ac622d59eac3a763ea2", "packages": [ { "name": "christian-riesen/base32", @@ -597,6 +597,183 @@ }, "time": "2016-12-13T01:01:17+00:00" }, + { + "name": "mzur/kirby-flash", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/mzur/kirby-flash.git", + "reference": "298df11e3adc8d872db8cd48ef3736c3cbdb6c6e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mzur/kirby-flash/zipball/298df11e3adc8d872db8cd48ef3736c3cbdb6c6e", + "reference": "298df11e3adc8d872db8cd48ef3736c3cbdb6c6e", + "shasum": "" + }, + "require": { + "getkirby/composer-installer": "^1.2" + }, + "require-dev": { + "getkirby/cms": "^3.0", + "mzur/kirby-defuse-session": "^1.0", + "phpunit/phpunit": "^9.0" + }, + "type": "kirby-plugin", + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Jevets\\Kirby\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Steve Jamesson", + "email": "steve@evendev.com" + }, + { + "name": "Martin Zurowietz", + "email": "martin@the-inspired-ones.de" + } + ], + "description": "Stores data in the session for the next request. Data is removed after the next page load.", + "keywords": [ + "flash", + "kirby", + "session" + ], + "support": { + "issues": "https://github.com/mzur/kirby-flash/issues", + "source": "https://github.com/mzur/kirby-flash/tree/v2.2.0" + }, + "time": "2023-01-05T18:59:28+00:00" + }, + { + "name": "mzur/kirby-form", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/mzur/kirby-form.git", + "reference": "8dc211b321375dbf77c43e1287e9fe0be2762ec0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mzur/kirby-form/zipball/8dc211b321375dbf77c43e1287e9fe0be2762ec0", + "reference": "8dc211b321375dbf77c43e1287e9fe0be2762ec0", + "shasum": "" + }, + "require": { + "getkirby/composer-installer": "^1.2", + "mzur/kirby-flash": "^2.0" + }, + "require-dev": { + "getkirby/cms": "^3.0", + "mzur/kirby-defuse-session": "^1.0", + "phpunit/phpunit": "^9.0" + }, + "type": "kirby-plugin", + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Jevets\\Kirby\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Steve Jamesson", + "email": "steve@evendev.com" + }, + { + "name": "Martin Zurowietz", + "email": "martin@the-inspired-ones.de" + } + ], + "description": "A form helper for Kirby-based websites, using the Post/Redirect/Get pattern.", + "keywords": [ + "form", + "kirby" + ], + "support": { + "issues": "https://github.com/mzur/kirby-form/issues", + "source": "https://github.com/mzur/kirby-form/tree/v3.3.0" + }, + "time": "2023-02-19T09:51:38+00:00" + }, + { + "name": "mzur/kirby-uniform", + "version": "v5.6.1", + "source": { + "type": "git", + "url": "https://github.com/mzur/kirby-uniform.git", + "reference": "b16b507e36b710c21044eba8cc3ae36c512be554" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mzur/kirby-uniform/zipball/b16b507e36b710c21044eba8cc3ae36c512be554", + "reference": "b16b507e36b710c21044eba8cc3ae36c512be554", + "shasum": "" + }, + "require": { + "getkirby/composer-installer": "^1.2", + "mzur/kirby-form": "^3.0" + }, + "require-dev": { + "getkirby/cms": "^3.5 || ^4.0", + "phpunit/phpunit": "^9.0" + }, + "type": "kirby-plugin", + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Uniform\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Martin Zurowietz", + "email": "martin@the-inspired-ones.de" + } + ], + "description": "A versatile Kirby plugin to handle web form actions.", + "keywords": [ + "form", + "kirby" + ], + "support": { + "docs": "http://kirby-uniform.readthedocs.io", + "issues": "https://github.com/mzur/kirby-uniform/issues", + "source": "https://github.com/mzur/kirby-uniform" + }, + "funding": [ + { + "url": "https://www.paypal.me/drmzur", + "type": "custom" + }, + { + "url": "https://github.com/mzur", + "type": "github" + } + ], + "time": "2024-03-07T10:29:12+00:00" + }, { "name": "phpmailer/phpmailer", "version": "v6.10.0",