From 020f8057aba4316d0b9b8e26fb2db5c4b2514974 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 2 Jul 2020 00:54:19 +0200 Subject: [PATCH] Add proper PHP templating --- composer.json | 3 ++- composer.lock | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 58 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3ee7d94..a6ffeec 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,6 @@ { "require": { - "altorouter/altorouter": "^2.0" + "altorouter/altorouter": "^2.0", + "league/plates": "3.*" } } diff --git a/composer.lock b/composer.lock index fe5e25d..cb4fef9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d632a79ef45204ea50723cd73d345e8b", + "content-hash": "aa4a1e705393f9eee51e91b7634ef095", "packages": [ { "name": "altorouter/altorouter", @@ -61,6 +61,61 @@ "routing" ], "time": "2019-11-23T11:01:41+00:00" + }, + { + "name": "league/plates", + "version": "3.3.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/plates.git", + "reference": "b1684b6f127714497a0ef927ce42c0b44b45a8af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/plates/zipball/b1684b6f127714497a0ef927ce42c0b44b45a8af", + "reference": "b1684b6f127714497a0ef927ce42c0b44b45a8af", + "shasum": "" + }, + "require": { + "php": "^5.3 | ^7.0" + }, + "require-dev": { + "mikey179/vfsstream": "^1.4", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~1.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Plates\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jonathan Reinink", + "email": "jonathan@reinink.ca", + "role": "Developer" + } + ], + "description": "Plates, the native PHP template system that's fast, easy to use and easy to extend.", + "homepage": "http://platesphp.com", + "keywords": [ + "league", + "package", + "templates", + "templating", + "views" + ], + "time": "2016-12-28T00:14:17+00:00" } ], "packages-dev": [],