evabioz / og-middleware
Laravel middleware for allow open graph bot visit it
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/evabioz/og-middleware
Requires
- php: >=5.5.9
- illuminate/support: ~5.0
This package is not auto-updated.
Last update: 2025-10-12 08:09:45 UTC
README
Laravel middleware for allow open graph bot visit it
Requirements
- PHP 5.5.9+
- Laravel 5+
Installation
First, pull in the package through Composer.
composer require evabioz/og-middleware
And then include the service provider within app/config/app.php.
'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).
// 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.