simple ogp maker
Feel free to submit a Pull Request. However, please run the make prod command and check the test content before submitting your Pull Request.
We recommend using Docker for this project.
make setupTesting under development.
make testmake fixTest before you Pull Request.
make prodFor Example.
$ogp = new \SimpleOgp\SimpleOgp('https://labo.nozomi.bike');
// Get web site content and set ogp values.
$ogp->getHtml();
// Get ogp title.
$title = $ogp->title();
// Get ogp description.
$description = $ogp->description();
// Get ogp image path.
$imagePath = $ogp->imagePath();