Skip to content

myerscode/utilities-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Utilities

A fluent interface for interacting with web sites, page content and URLs.

Latest Stable Version Total Downloads PHP Version Require License Tests codecov

Requirements

  • PHP >= 8.5
  • ext-curl

Install

composer require myerscode/utilities-web

Usage

use Myerscode\Utilities\Web\Utility;

$web = new Utility('https://example.com');

// Get content from a URL
$content = $web->content()->content();

// Get a DOM crawler for the page
$dom = $web->content()->dom();

// Ping a host
$result = $web->ping()->ping();

// Work with URLs
$uri = $web->url();

Available Utilities

Fetch and interact with web page content.

Ping hosts and check latency.

Parse, build and manipulate URLs.

License

The MIT License (MIT). Please see License File for more information.

About

a fluent interface for interacting with web sites, page content and urls

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages