lvlup-dev/laravel-url

Methods to work with URLs and text documents on the web.

dev-main 2023-01-11 13:54 UTC

This package is auto-updated.

Last update: 2024-04-11 16:28:34 UTC


README

This package is design to help you work with external urls in your Laravel application.

Installation

composer require lvlup-dev/laravel-url

Usage

 $url = \LvlupDev\Url\Url::fetch('https://mescadeaux.com/');
 $headers = $url->headers();

Advanced features

Add a one-hour cache on all URLs.

Roadmap

Extended body() method to handle Xpath queries.

License

MIT. Please see the license file for more information.