PHPackages                             crumby/meta-resolver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. crumby/meta-resolver

ActiveLibrary

crumby/meta-resolver
====================

Automatic canonical and hreflang output for Laravel 5.4

1.0.0(8y ago)035MIT LicensePHPPHP &gt;=5.6.0

Since Aug 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/avassilenko/meta-resolver)[ Packagist](https://packagist.org/packages/crumby/meta-resolver)[ Docs](https://github.com/avassilenko/meta-resolver)[ RSS](/packages/crumby-meta-resolver/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Installation:
-------------

[](#installation)

```
> composer require crumby/meta-resolver
> php artisan vendor:publish --provider="Crumby\MetaResolver\MetaResolverServiceProvider" --tag=config

```

Register service and facade:
----------------------------

[](#register-service-and-facade)

File: config/app.php

```
'providers' => [
    ......................
    'Crumby\MetaResolver\MetaResolverServiceProvider',
    ........................
 ];

 'aliases' => [
    ......................
    'MetaResolver' => 'Crumby\MetaResolver\Facades\MetaResolver',
    ......................
 ];

```

Create Resolver classes:
------------------------

[](#create-resolver-classes)

To fill Schema.org JSON-LD structure on your page you will need to create class which can extract data from current content. The class needs to implement interface Crumby\\MetaResolver\\Contracts\\MetaResolver.php

```
