PHP Classes

HTML Google Fonts using PHP on Time: Store and retrieve font values to use in Web pages

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 94 All time: 9,808 This week: 196Up
Version License PHP version Categories
htmlgooglefonts 1.0.0Public Domain5HTML, PHP 5, Databases, Graphics
Description 

Author

This package can be used to store and retrieve font values to use in Web pages.

It provides traits that can be used by classes to store values in a NoSQL database that associate a named group of font values to use in Web pages.

The package can also retrieve the font values of a given the group name, so applications can use the fonts when they render the HTML of the current page being served by PHP.

Picture of Mario Carrocera
  Performance   Level  
Name: Mario Carrocera is available for providing paid consulting. Contact Mario Carrocera .
Classes: 18 packages by
Country: Mexico Mexico
Age: 58
All time rank: 314536 in Mexico Mexico
Week rank: 569 Up8 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php
ini_set
('display_errors', true);
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING);

include_once(
'Classcommon.php');
$license = new CCLicense(3,2,1);

include_once(
'HtmlClass.php');
$html = new html();
$html->SetPage('page');
$html->SetMeta('screen');
$html->SetGoogle('letters');


// Just to have something to see on body
$google = $html->ShwCntIn('letters',"page");
?>
<!DOCTYPE html>
<html>
    <?php $html->Getheader(); ?>
<body>
<?php foreach ($google as $clave => $valor) { if ($valor=='google') { ?>
<p style=<?php echo '"font-family:'.$clave ; ?>">This is a paragraph <?php echo $clave; ?>.</p>
<?php }} ?>
</body>
</html>
<?php echo '<br>'.$license->logo . '</br>'.$license->url; ?>
       


Screenshots  
  • GoogleFont.png
  • googlefontsc.png
  • Htmlfont.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file FillData001.php Example Example script
Plain text file HtmlClass.php Class Class source
Accessible without login Plain text file HtmlPage.php Example Example script
Accessible without login Plain text file licencia Data Auxiliary data
Accessible without login Plain text file license Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

Downloadhtmlgooglefonts-2021-05-06.zip 232KB
Downloadhtmlgooglefonts-2021-05-06.tar.gz 232KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP NoSQL Database OnTime Download .zip .tar.gz OnTime NoSqlDatabase Required
PHP Creative Commons Logo Download .zip .tar.gz Commom creative license Optional
HTML Metatags using PHP on Time Download .zip .tar.gz Html Meta Tag pacakage Recommended
HTML CSS Styles using PHP on Time Download .zip .tar.gz Implements Css Html Recommended
HTML LayOut using PHP on Time Download .zip .tar.gz Implement Layout Recommended
 Version Control Reuses Unique User Downloads Download Rankings  
 77%15
Total:94
This week:0
All time:9,808
This week:196Up