henderjon/chevron-html

one attempt to make HTML easier/safer

v2.0.2 2014-05-19 14:52 UTC

This package is auto-updated.

Last update: 2020-09-06 00:09:28 UTC


README

Html is one attempt (of many) to make the act of writing HTML slightly safer and easier. It offers elements as objects with properties and a system of using PHP's magic __call() to create them quickly and inline.

If there is a downfall to this system (and every other system designed to tackle the same task) it is that for all the buzz words I've tried to incorporate (OOP, Di, testable, blah blah blah) it remains a very customized solution and using it will couple an application to this (or that) specific toolset.

I think the API is what I want, I'm just not sold on the code.

Peruse the tests or, if present, the examples directory to see usage.

See packagist for version/installation info. At the moment, I recommend using ~3.0.

Latest Stable Version Build Status