PHP code example of noud / laravel-seo-google-structured-data

1. Go to this page and download the library: Download noud/laravel-seo-google-structured-data 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/ */

    

noud / laravel-seo-google-structured-data example snippets




namespace App\Models;

use SEO\Google\Structured\data\Models\WebSite as GoogleWebSite;

class WebSiteGoogle extends GoogleWebSite
{}
config/models.php

php artisan code:models --schema=google-structured-data