Skip to content
/ php-dom Public

Helper-classes/functions for creating well-formed arbitrary HTML or XML.

Notifications You must be signed in to change notification settings

eib/php-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

php-dom

Contents:

  • DOM modeling classes.
  • Includes a "tag-builder" helper class.

Examples:

require_once('dom/bootstrap.php');
...

$html = Tag(
   "To return home, click ",
   Tag::a('here')->href('/home/index.php'),
   "."
);

echo Tag::p($html); //<p>To return home, click <a href="/home/index.php">here</a>.</p>

License

http://eib.mit-license.org/

About

Helper-classes/functions for creating well-formed arbitrary HTML or XML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages