PHPackages                             utopia-php/domains - 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. [Framework](/categories/framework)
4. /
5. utopia-php/domains

ActiveLibrary[Framework](/categories/framework)

utopia-php/domains
==================

Utopia Domains library is simple and lite library for parsing web domains. This library is aiming to be as simple and easy to learn and use.

2.2.0(1w ago)53660.1k—4.4%22[4 issues](https://github.com/utopia-php/domains/issues)8MITPHPPHP &gt;=8.3CI failing

Since Feb 21Pushed 1w ago11 watchersCompare

[ Source](https://github.com/utopia-php/domains)[ Packagist](https://packagist.org/packages/utopia-php/domains)[ RSS](/packages/utopia-php-domains/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (20)Versions (64)Used By (8)

Utopia Domains
==============

[](#utopia-domains)

[![Build Status](https://camo.githubusercontent.com/6517ae090eb2701a567f80ca3e514f3fc0ddf4c137267db456a797b5b5b4ed77/68747470733a2f2f7472617669732d63692e6f72672f75746f7069612d7068702f646f6d61696e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/utopia-php/domains)[![Total Downloads](https://camo.githubusercontent.com/88d4f2bcb39750369a573cc67118793681c0acd74378a88d3dd5d737ee91f66c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f646f6d61696e732e737667)](https://camo.githubusercontent.com/88d4f2bcb39750369a573cc67118793681c0acd74378a88d3dd5d737ee91f66c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f646f6d61696e732e737667)[![Discord](https://camo.githubusercontent.com/b130cc39f0cd917f3fc3e9f94c08a8ba302c8b36d32d8914f5494c473a7070e6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f353634313630373330383435313531323434)](https://appwrite.io/discord)

Utopia Domains library is a simple and lite library for parsing domain names structure. This library is aiming to be as simple and easy to learn and use. This library is maintained by the [Appwrite team](https://appwrite.io).

Although this library is part of the [Utopia Framework](https://github.com/utopia-php/framework) project, it is completely **dependency-free** and can be used as standalone with any other PHP project or framework.

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/domains
```

```
