From f7faa504f86a210be8979e8f9718ae689f077d4e Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 20 Aug 2024 11:19:19 +0900 Subject: [PATCH] Update documentation and composer file with correct git repo Homepage The correct place is at the EGRA github org, reference original in the description. Update the require part for the composer json file with this new information --- ReadMe.md | 5 ++++- composer.json | 10 +++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 6d98c37..29ba133 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,6 +1,6 @@ # Composer package from Smarty Extended -This is an updated package for smarty\smarty +This is an updated package for [smarty\smarty](https://github.com/smarty-php/smarty/) Adds: @@ -20,6 +20,9 @@ composer config repositories.git.egplusww.jp.Composer composer https://git.egplu Alternative setup composer local zip file repot: `composer config repositories.composer.egplusww.jp composer http://composer.egplusww.jp` +> [!notice] +> Requires mbstring extension installed, will not use the symfony/polyfill-mbstring + ## Install package `composer require egrajp/smarty-extended:^5` diff --git a/composer.json b/composer.json index 13b7c70..606b20f 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,11 @@ { "name": "egrajp/smarty-extended", - "description": "Smarty, extended with gettext, checkbox/radio labels and index numbers", + "description": "Smarty, extended with gettext, checkbox/radio labels and index numbers. Based on the smarty project: https://github.com/smarty-php/smarty/", "type": "library", "keywords": [ "templating" ], - "homepage": "https://github.com/smarty-php/smarty/", + "homepage": "https://github.com/TBWA-EGPlus-Japan/Composer.smarty-extended", "license": "LGPL-3.0", "autoload": { "files": [ @@ -28,7 +28,11 @@ "url": "https://git.egplusww.jp/api/packages/Composer/composer" } }, + "require": { + "php": "^7.4 || ^8.0", + "ext-mbstring": "*" + }, "require-dev": { - "egrajp/corelibs-composer-all": "^9.13" + "egrajp/corelibs-composer-all": "^9" } }