PHP Classes

How to Use a PHP HTML Class to Generate HTML Tags Calling Class Functions with the Names of the Tags Using the Package miphanttpl: Generate HTML using functions with the tag names

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-11-17 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
miphanttpl 1.0MIT/X Consortium ...7HTML, PHP 7
Description 

Author

This package can Generate HTML using functions with the tag names.

It provides a class with the __call magic method that can generate an HTML tag from parameters passed to the function, using the name of the function that was called as the name of the tag to generate.

The class uses the function parameters to get the tag attributes and content that will be inside the tag.

In Portuguese:

MiPhantTPL é uma biblioteca para gerar códigos HTML de forma dinâmica.

Picture of Murilo Gomes Julio
  Performance   Level  
Name: Murilo Gomes Julio <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 37
All time rank: Not yet ranked
Week rank: Not yet ranked
Innovation award
Innovation award
Nominee: 3x

Details

MiPhantTPL

MiPhantTPL é uma biblioteca para gerar códigos HTML de forma dinâmica.

Instalação

composer require mugomes/miphanttpl

Support

  • https://www.asaas.com/c/girp15xsowg4dpvf (Only in Brazil)
  • https://www.asaas.com/c/0f9eydhmgg8e3mrj (Only in Brazil - Monthly)
  • https://donate.stripe.com/14kdSugShfxs9by6oo
  • https://apoia.se/profmu

License

Copyright (c) 2025 Murilo Gomes Julio

Licensed under the MIT license.

All contributions to the MiPhantTPL are subject to this license.


  Files folder image Files (4)  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (4)  /  src  
File Role Description
  Plain text file MiPhantTPL.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0