From 10d1cb9b10e20afd2026fb3f4eadcdf4aa919a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20G=C3=B6rtz?= Date: Sat, 2 May 2015 16:27:12 +0200 Subject: [PATCH] Created Composer package. --- .gitignore | 1 + Shorten.php | 4 ++-- composer.json | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 composer.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57872d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/Shorten.php b/Shorten.php index 34f352b..92dda3d 100644 --- a/Shorten.php +++ b/Shorten.php @@ -16,12 +16,12 @@ * @author Marc Görtz (http://marcgoertz.de/) * @license MIT License * @copyright Copyright (c) 2011-2015, Marc Görtz - * @version 1.2.0 + * @version 1.3.0 */ class Shorten { - const VERSION = '1.2.0'; + const VERSION = '1.3.0'; /** * Safely truncate text containing markup. diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..64e97d3 --- /dev/null +++ b/composer.json @@ -0,0 +1,21 @@ +{ + "name": "marcgoertz/shorten", + "version": "1.3.0", + "description": "Provides truncation functions.", + "homepage": "https://github.com/Dreamseer/php-shorten", + "keywords": [ + "truncation", + "shorten", + "markup" + ], + "license": "MIT", + "authors": [ + { + "name": "Marc Görtz", + "email": "mail@marcgoertz.de", + "homepage": "http://marcgoertz.de/" + } + ], + "minimum-stability": "dev", + "require": {} +}