Add proper PHP templating

This commit is contained in:
Yarmo Mackenbach 2020-07-02 00:54:19 +02:00
parent ed410c6281
commit 020f8057ab
2 changed files with 58 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{
"require": {
"altorouter/altorouter": "^2.0"
"altorouter/altorouter": "^2.0",
"league/plates": "3.*"
}
}

57
composer.lock generated
View file

@ -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": [],