coercive / head
Coercive Utility Head
Installs: 216
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/coercive/head
Requires
- php: >=7.4.3
README
Handler for html head tags
Get
composer require coercive/head
Example
<?php $head = new Head; # Meta Title $head->Title()->setContent('example title'); # Meta Description $head->Description()->setContent('example description'); # Meta Keywords $head->Keywords()->setContent('example test'); # Show echo $head->toHtml();