diff options
Diffstat (limited to 'php')
-rw-r--r-- | php/composer.json | 38 | ||||
-rw-r--r-- | php/src/luigi-template.php (renamed from php/luigi-template.php) | 0 |
2 files changed, 38 insertions, 0 deletions
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" + ] + } +} diff --git a/php/luigi-template.php b/php/src/luigi-template.php index 69e3fb8..69e3fb8 100644 --- a/php/luigi-template.php +++ b/php/src/luigi-template.php |