Meta class internal package. This internal package is used to compile meta tags dynamically and the configuration setup
can be found in the icore/filemeta configuration file. The configuration is loaded by default from the
$_ENV variable. It takes the parameter "dump" or
"drop" which determines how the files are imported. By setting the option "dump",
it dumps all the resolved meta tags using the default configuration file. You can learn more on Meta class
class from here. The code below represents the sample of the icore/filemeta.php configuration file.
$_ENV['meta'] = new spoova\mi\core\classes\Meta;
$_ENV['meta']->charset(); //Default as UTF-8 Character-Encoding
$_ENV['meta']->equiv('X-UA-Compatible', 'IE=edge');
$_ENV['meta']->name('viewport', 'width=device-width, initial-scale=.9, maximum-scale=1.0, user-scalable=1');
$_ENV['meta']->name('description', 'A light php development framework.');
$_ENV['meta']->link('icon', DomUrl('res/main/images/icons/favicon.png'), 'type:image/png; sizes:16x16');
$_ENV['meta']->prop('og:title', 'Spoova php framework for web development.');
$_ENV['meta']->prop('og:image', 'res/main/images/icons/favicon.png');
$_ENV['meta']->prop('og:type', 'website');
<head> @meta('dump') </head>
@meta('dump') will dump
all the configured meta tags.