Metatags

A Laravel package to fetch webpage metadata ( Open Graph | Twitter | Facebook | Article )
Alternatives To Metatags
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Next Seo6,58686524 days ago86July 20, 202268mitJavaScript
Next SEO is a plug in that makes managing your SEO easier in Next.js projects.
Wikipedia Map290
2 years ago4mitJavaScript
A web app for visualizing the connections between Wikipedia pages.
Svelte Seo266
2 months ago16June 04, 2022mitJavaScript
Optimize your website for search engines and social media with meta tags, Open Graph, and JSON-LD.
Hand To Hand Optimize Go245
6 years agoMay 23, 2021mitGo
a simple tutorial for optimizing go program by some useful tools
Graph To Seq Comment Generation92
3 years ago5Python
Code for the paper ``Coherent Comments Generation for Chinese Articles with a Graph-to-Sequence Model''
Tensorflow_capi_sample87
5 months ago2C
Sample code to call C API for Tensorflow 2.1
Strumentalia Seealsology68
10 months ago2otherJavaScript
see also section scraping on custom levels of depth
Cgnn60
4 years ago2Python
Replication code for the article "Learning Functional Causal Models with Generative Neural Networks"
Kapok53
19 years ago1December 23, 20134mitGo
A knowledge graph of Wikipedia
Interviewprep45
2 years ago8C++
A repository containing link of good interview questions
Alternatives To Metatags
Select To Compare


Alternative Project Comparisons
Readme

Metatags

A Laravel package to fetch all metadata of a webpage.

Installation

Perform the following operations in order to use this package

  • Run composer require "mobiosolutions/metatags" in your terminal

  • Add Service Provider Open config/app.php and add mobiosolutions\metatags\Providers\MetatagsProvider::class, to the end of providers array:

    'providers' => array(
        ....
        mobiosolutions\metatags\Providers\MetatagsProvider::class,
    ),
    

    Next under the aliases array:

    'aliases' => array(
        ....
        'Metatags' => mobiosolutions\metatags\Facades\MetatagsFacade::class
    ),
    

Requirements

  • You need to install the DOM extension.

How to use

  • After following the above steps,

    // Add to your controller to get all metatags data
    use Metatags;
    
    $metadata = Metatags::get("https://example.com/");
    
    print_r($metadata);
    

    Get only OG ( Open Graph ) Metatages data

    $getOGTags = true;
    $metadata = Metatags::get("https://example.com/",$getOGTags);
    
                        OR
    
    $metadata = Metatags::get("https://example.com/",true);
    
    print_r($metadata);
    
    
Popular Article Projects
Popular Graph Projects
Popular Learning Resources Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Laravel
Graph
Article
Fetch
Webpage
Laravel Package
Laravel Framework
Meta Tags