Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.