From 43e03c125dcf0413ee9ab844ced3583c91894253 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 4 Sep 2018 02:44:57 -0400 Subject: php: add composer.json, mv luigi-template.php src/ --- php/composer.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 php/composer.json (limited to 'php/composer.json') diff --git a/php/composer.json b/php/composer.json new file mode 100644 index 0000000..a00d0d4 --- /dev/null +++ b/php/composer.json @@ -0,0 +1,38 @@ +{ + "name": "pablotron/luigi-template", + "description": "String emplate library.", + "homepage": "https://github.com/pablotron/luigi-template", + "license": "MIT", + + "authors": [{ + "name": "Paul Duncan", + "email": "luigi-template@pablotron.org", + "homepage": "https://pablotron.org/", + "role": "developer" + }], + + "require": { + "php": "^7" + }, + + "require-dev": { + "phpunit/phpunit": "^7", + "phpdocumentor/phpdocumentor": "2.*" + }, + + "autoload": { + "psr-4": { + "Luigi\\": "src/" + } + }, + + "scripts": { + "test": [ + "phpunit --bootstrap vendor/autoload.php tests" + ], + + "docs": [ + "phpdoc -d src -t docs --template=responsive-twig --title=LuigiTemplate" + ] + } +} -- cgit v1.2.3