PHPackages                             darling/php-web-paths - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. darling/php-web-paths

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

darling/php-web-paths
=====================

The PHPWebPaths library provides classes for working with web paths such as a Url.

v1.0.3(2y ago)15802MITPHPPHP ^8.1

Since Nov 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sevidmusic/PHPWebPaths)[ Packagist](https://packagist.org/packages/darling/php-web-paths)[ RSS](/packages/darling-php-web-paths/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (6)Used By (2)

PHP Web Paths
=============

[](#php-web-paths)

The PHPWebPaths library provides classes for working with web paths.

Overview
========

[](#overview)

- [Installation](#installation)
- [Url](#darlingphpwebpathsinterfaceswebpathsurl)
- [Domain](#darlingphpwebpathsinterfaceswebpathspartsurldomain)
- [Scheme](#darlingphpwebpathsenumerationsscheme)
- [Authority](#darlingphpwebpathsinterfacespathspartsurlauthority)
- [Host](#darlingphpwebpathsinterfacespathspartsurlhost)
- [SubDomainName](#darlingphpwebpathsinterfacespathspartsurlsubdomainname)
- [DomainName](#darlingphpwebpathsinterfacespathspartsurldomainname)
- [TopLevelDomainName](#darlingphpwebpathsinterfacespathspartsurltopleveldomainname)
- [Port](#darlingphpwebpathsinterfacespathspartsurlport)
- [Path](#darlingphpwebpathsinterfacespathspartsurlpath)
- [Query](#darlingphpwebpathsinterfacespathspartsurlquery)
- [Fragment](#darlingphpwebpathsinterfacespathspartsurlfragment)
- [Route](#darlingroadymoduleutilitiesinterfaceswebpathsroute)
- [RelativePath](#darlingphpwebrelativepathsinterfacespathspartsrelativepath)

Installation
============

[](#installation)

```
composer require darling/php-web-paths

```

### \\Darling\\PHPWebPaths\\interfaces\\web\\paths\\Url

[](#darlingphpwebpathsinterfaceswebpathsurl)

```
