PHP code example of edgarez / faviconbundle
1. Go to this page and download the library: Download edgarez/faviconbundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
edgarez / faviconbundle example snippets
// ezpublish/EzPublishKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new EdgarEz\FaviconBundle\EdgarEzFaviconBundle(),
// ...
);
}
command
// generate favicons for global configuration (acme_group)
php ezpublish/console edgar_ez:favicon
// generate favicons only for acme siteaccess
php ezpublish/console edgar_ez:favicon --siteaccess=demo
// install favicons uploaded in your AcmeBundle
php ezpublish/console asset:install