Skip to content

Commit

Permalink
Created Composer package.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcgrtz committed May 2, 2015
1 parent 467b89c commit 10d1cb9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/
4 changes: 2 additions & 2 deletions Shorten.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": {}
}

0 comments on commit 10d1cb9

Please sign in to comment.