2017 © Pedro Peláez
 

library vinter

Very INTEResting (and tricky) php template

image

vinter/vinter

Very INTEResting (and tricky) php template

  • Thursday, February 27, 2014
  • by zealotrunner
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Vinter

Very INTEResting (and tricky) php template, (*1)

Latest Stable Version Build Status Coverage Status Dependencies Status License, (*2)

Usage


<?php include('src/tags/html5.php'); echo $html['lang=en']( $head( $title($page_title) ), $body( $header($h1($page_title)), $nav( $ul( $li ($a['href=#']['.current']('Blog')), $li ($a['href=#'] ('Archives')), $li ($a['href=#'] ('Contact')), $li['.subscribe']($a['href=#'] ('Subscribe via. RSS')) ) ), $section['#comments']( $header($h3('Comments')), Vinter::each($comments, function($comment) {$_( $article( $header( $a["href={$comment->link}"]($comment->user) ), ' on ', $time["datetime={$comment->datetime}"]($comment->time) ), $p($comment->content) );}) ) ), $has_footer ? $footer('&copy;Vinter') : '' );

Test

Install Composer, (*3)

cd vinter
curl -sS https://getcomposer.org/installer | php
php composer.phar install --dev
php composer.phar dumpautoload -o

Test, (*4)

./vendor/bin/phpunit tests/VinterTest.php

The Versions

27/02 2014

dev-master

9999999-dev

Very INTEResting (and tricky) php template

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-tokenizer *
  • ext-reflection *

 

The Development Requires

by Sean Zheng

template