PHP code example of infernalmedia / meta-tags

1. Go to this page and download the library: Download infernalmedia/meta-tags 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/ */

    

infernalmedia / meta-tags example snippets


<x-infernal-meta-tags :page-title="$pageTitle ?? null"
                      :meta-image="$seoImage ?? null"
                      :custom-breadcrumb="$breadcrumb ?? null"
                      :description="$pageDescription ?? null" />
html
<head>
    <x-infernal-meta-tags :page-title="$pageTitle ?? null"
                          :meta-image="$seoImage ?? null"
                          :custom-breadcrumb="$breadcrumb ?? null"
                          :description="$pageDescription ?? null" />    
</head>
bash
php artisan vendor:publish --tag="meta-tags-config"
bash
php artisan vendor:publish --tag="meta-tags-views"