og-middleware
Laravel middleware for allow open graph bot visit it, (*1)
Requirements
Installation
First, pull in the package through Composer., (*2)
composer require evabioz/og-middleware
And then include the service provider within app/config/app.php
., (*3)
'providers' => [
Evabioz\OGMiddleware\OGMiddlewareServiceProvider::class,
];
Publish the package config file
$ php artisan vendor:publish --provider="Evabioz\OGMiddleware\OGMiddlewareServiceProvider"
Configuration
You can use named route, or asterix syntax (without start and end markers)., (*4)
// within app/config/og-middleware.php
'route_endpoint_list' => [
// 'foo/bar' => OpenGraphEndpoint::class
],
License
The MIT License (MIT). Please see License File for more information., (*5)