Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noud/laravel-seo-schema-org
Laravel SEO Schema.org
https://github.com/noud/laravel-seo-schema-org
laravel schema-org seo
Last synced: about 2 months ago
JSON representation
Laravel SEO Schema.org
- Host: GitHub
- URL: https://github.com/noud/laravel-seo-schema-org
- Owner: noud
- License: mit
- Created: 2020-01-11T15:10:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T09:59:45.000Z (over 4 years ago)
- Last Synced: 2024-07-04T14:45:53.995Z (7 months ago)
- Topics: laravel, schema-org, seo
- Language: PHP
- Size: 710 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel SEO Schema.org
Laravel SEO Schema.org 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-schema-org
```## Usage in models
Now you can extend your models from Schema.org
```
app_path('Models-schema-org'),
'namespace' => 'SEO\SchemaOrg\Models',
```
I generate the models from this schema like so in the target project:
```
php artisan code:models --schema=schema-org
```Then copy everything from ```app/Models-schema-org``` to the package.