Package Data | |
---|---|
Maintainer Username: | evabioz |
Maintainer Contact: | evabioz@gmail.com (Dennis Lin) |
Package Create Date: | 2017-07-11 |
Package Last Update: | 2017-07-11 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-06 03:07:03 |
Package Statistics | |
---|---|
Total Downloads: | 9 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel middleware for allow open graph bot visit it
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,
];
$ php artisan vendor:publish --provider="Evabioz\OGMiddleware\OGMiddlewareServiceProvider"
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
],
The MIT License (MIT). Please see License File for more information.