Skip to content

Limbu is the light markup builder a package for simple composition of markup in an object oriented way.

License

Notifications You must be signed in to change notification settings

naylonkessler/limbu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limbu

SensioLabsInsight Build Status

Limbu is the light markup builder a package for simple composition of markup in an object oriented way.

Installation

Just require the package using composer.

composer require naylonkessler/limbu

Using the package

Import and create a tag object:

<?php

use Limbu\Limbu;
use Limbu\Elements\Img;
use Limbu\Elements\Tag;

// Using the factory
$factory = new Limbu();
$div = $factory->tag('div');

// Using the Tag class
$div = new Tag('div');

// Using a specialized class
$img = new Img(['src' => 'home-image-url.jpg']);

About

Limbu is the light markup builder a package for simple composition of markup in an object oriented way.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages