PHP code example of evabioz / og-middleware
1. Go to this page and download the library: Download evabioz/og-middleware library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
evabioz / og-middleware example snippets
'providers' => [
Evabioz\OGMiddleware\OGMiddlewareServiceProvider::class,
];
// within app/config/og-middleware.php
'route_endpoint_list' => [
// 'foo/bar' => OpenGraphEndpoint::class
],
shell
$ php artisan vendor:publish --provider="Evabioz\OGMiddleware\OGMiddlewareServiceProvider"