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
- Host: GitHub
- URL: https://github.com/noud/laravel-seo-google-structured-data
- Owner: noud
- License: mit
- Created: 2020-01-11T21:11:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T09:59:33.000Z (over 5 years ago)
- Last Synced: 2025-03-01T01:26:41.738Z (over 1 year ago)
- Language: PHP
- Size: 104 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.