{"repo":"shweshi/OpenGraph","free":true,"listed":false,"github":"https://github.com/shweshi/OpenGraph","clone":"git clone https://github.com/shweshi/OpenGraph.git","description":"A Laravel package to fetch Open Graph data of a website.","language":"PHP","stars":167,"topics":["opengraph","laravel","metadata-extraction","metadata","opengraph-tags","opengraph-data","laravel-package","laravel-opengraph","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"OpenGraph is a laravel package to fetch Open Graph metadata of a website/link. Features - Easily fetch metadata of a URL. Laravel OpenGraph fetches all the metadata of a URL. - Supports language-specific metadata. Laravel OpenGraph can fetch metadata in a specific language if webpage supports. - Supports twitter metadata. Laravel OpenGraph supports twitter OG data too. - Verify image URL. Laravel OpenGraph verifies that the image URL in the image metadata is valid or not. Demo How to use Laravel OpenGraph An article can be found on the medium blog: https://hackernoon.com/how-to-fetch-open-graph-metadata-in-laravel-2d5d674904d7 Documentation https://opengraph.shashi.dev Installation Perform the following operations in order to use this package - Install via composer If you do not run Laravel 5.5 (or higher), then add the service provider in config/app.php: - Add Service Provider Open config/app.php and add shweshi\\OpenGraph\\Providers\\OpenGraphProvider::class, to the end of providers array: Next under the aliases array: If you do run the package on Laravel 5.5+, package auto-discovery takes care of the magic of adding the service provider. Requirements - You need to install the DOM extension. How to use - After following the above steps, this will give you an array like this... You can also pass an optional parameter either true or false along with URL. When set false it will only fetch basic metadata and in case of true it will fetch all the other optional metadata as well lik","default_branch":null,"files":null,"tree":[],"storefront":"/r/shweshi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shweshi/OpenGraph/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}