An open API service indexing awesome lists of open source software.

https://github.com/noud/laravel-seo-google-structured-data

Laravel SEO Google Structured data
https://github.com/noud/laravel-seo-google-structured-data

Last synced: about 1 year ago
JSON representation

Laravel SEO Google Structured data

Awesome Lists containing this project

README

          

# Laravel SEO Google Structured data

Laravel SEO Google Structured data package.

## Requirements

* PHP 7.2+
* Laravel 5.6+

## Installation

Install the package by running this command in your terminal/cmd:
```
composer require noud/laravel-seo-google-structured-data
```

## Usage in models

Now you can extend your models from Google Structured data
```
app_path('Models-google-structured-data'),
'namespace' => 'SEO\Google\Structured\data\Models',
```
I generate the models from this schema like so in the target project:
```
php artisan code:models --schema=google-structured-data
```

Then copy everything from ```app/Models-google-structured-data``` to the package.