nichin79/meta-php

There is no license information available for the latest version (v1.0.2) of this package.

Class for getting title and meta tags from url

v1.0.2 2024-04-22 23:37 UTC

This package is auto-updated.

Last update: 2024-09-23 09:56:23 UTC


README

Simple script for getting title + meta tags from url

Example

<?php
use Nichin79\Meta\Meta;

require_once (__DIR__ . '/vendor/autoload.php');

if (!isset($url)) {
  $url = 'https://www.google.com/';
}

$tags = new Meta($url);
print_r($tags->getTags());