lee / url-tracker
Shorten Url Tracker
dev-master
2022-11-16 13:22 UTC
Requires
- php: >=7.4
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- overtrue/phplint: ^2.3
- phpstan/phpstan: ^1
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-12-16 18:08:13 UTC
README
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',]