From 9b80ddcc0f196581e09a227adec7af21876b0513 Mon Sep 17 00:00:00 2001 From: Elliott Cost Date: Thu, 2 Jan 2025 17:19:49 +0100 Subject: [PATCH] kirby --- .editorconfig | 1 - composer.json | 40 ++++++++++++++++++++++++++++++++++++++++ index.php | 2 +- 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 composer.json diff --git a/.editorconfig b/.editorconfig index d2d7f0f..e59fa38 100755 --- a/.editorconfig +++ b/.editorconfig @@ -3,7 +3,6 @@ charset = utf-8 indent_style = space indent_size = 2 end_of_line = lf -insert_final_newline = true trim_trailing_whitespace = true insert_final_newline = true diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..8686620 --- /dev/null +++ b/composer.json @@ -0,0 +1,40 @@ +{ + "name": "getkirby/starterkit", + "description": "Kirby Starterkit", + "type": "project", + "keywords": [ + "kirby", + "cms", + "starterkit" + ], + "authors": [ + { + "name": "Bastian Allgeier", + "email": "bastian@getkirby.com", + "homepage": "https://getkirby.com" + } + ], + "homepage": "https://getkirby.com", + "support": { + "email": "support@getkirby.com", + "issues": "https://github.com/getkirby/starterkit/issues", + "forum": "https://forum.getkirby.com", + "source": "https://github.com/getkirby/starterkit" + }, + "require": { + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "getkirby/cms": "^4.0" + }, + "config": { + "allow-plugins": { + "getkirby/composer-installer": true + }, + "optimize-autoloader": true + }, + "scripts": { + "start": [ + "Composer\\Config::disableProcessTimeout", + "@php -S localhost:8000 kirby/router.php" + ] + } +} diff --git a/index.php b/index.php index 87ed01d..9b08443 100755 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@ render();