lee/url-tracker

dev-master 2022-11-16 13:22 UTC

This package is auto-updated.

Last update: 2024-04-16 16:36:39 UTC


README

build

Introduction

  • It's for developers to track URL programmatically and avoid faking phishing URL with shorten URL.

Usage

  • Using this library is simple. Firstly, installing the library with following command:
composer require lee/url-tracker
  • Then using the following code to track URL easily:
require_once __DIR__ . '/vendor/autoload.php';

use Lee\Tracker;

$url = 'https://bit.ly/grpc-intro';
$trackedResult = Tracker::trackFromUrl($url); // ['https://bit.ly/grpc-intro', 'https://www.slideshare.net/williamyeh/grpc-238408172/williamyeh/grpc-238408172',]