PHPackages                             sofac/rfc-3986 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. sofac/rfc-3986

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sofac/rfc-3986
==============

Working with URIs/URLs following Standard 3986

v1.0.0(2mo ago)01MITPHPPHP &gt;=8.4

Since Apr 11Pushed 2mo agoCompare

[ Source](https://github.com/JeffersonSilvaSantos/rfc-3986)[ Packagist](https://packagist.org/packages/sofac/rfc-3986)[ RSS](/packages/sofac-rfc-3986/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP SOFAC RFC-3986 UTILITY
--------------------------

[](#php-sofac-rfc-3986-utility)

Require
-------

[](#require)

\_ PHP 8.4 or higher

Using
-----

[](#using)

```
use Sofac\Standards\Rfc3986\Character;
use Sofac\Standards\Rfc3986\Enums\DelimiterRegex;

/* SOME USEFUL CONSTANTS */

$genDelims = Character::GEN_DELIMS;

$subDelims = Character::SUB_DELIMS;

echo "";

print_r($genDelims);

echo "";
/*
result $subDelims
   Array
(
    [0] => :
    [1] => /
    [2] => ?
    [3] => #
    [4] => [
    [5] => ]
    [6] => @
)
*/

/* METHODS */

/* Returns already escaped sub-delims for use in regex. */
$sub = Character::subDelimsForRegex(); // '\!\$&'\(\)\*\+,;\='

/* Returns already escaped sub-delims for use in regex. except */
$subExcept = Character::subDelimsForRegex(')','=');// '\!\$&'\(\*\+,;'

/* Regex builder, still under development. */
$regex = Character::makerRegex(
    DelimiterRegex::SLASH_DELIMITER, '(?:[^', Character::unreservedForRegex(), Character::subDelimsForRegex(), Character::gemDelimsForRegex("#", "[", "]"), '%]++|', Character::percentIdentifyRegex(), ')'
);

echo $regex; /* result: '/(?:[^A-Za-za-z0-9\-\._~\!\$&'\(\)\*\+,;\=\:\/\?@%]++|%(?![A-Fa-f0-9]{2}))/' */
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance88

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d09b2f7c2d9395d187be3f0552a43f0e561fb5c2a4c7e34b472e96b66cd735c?d=identicon)[JeffersonSilvaSantos](/maintainers/JeffersonSilvaSantos)

---

Top Contributors

[![JeffersonSilvaSantos](https://avatars.githubusercontent.com/u/126629206?v=4)](https://github.com/JeffersonSilvaSantos "JeffersonSilvaSantos (1 commits)")

---

Tags

characterrfcsofac3986Standard 3986

### Embed Badge

![Health badge](/badges/sofac-rfc-3986/health.svg)

```
[![Health](https://phpackages.com/badges/sofac-rfc-3986/health.svg)](https://phpackages.com/packages/sofac-rfc-3986)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M79](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

13137.2M6.4k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k112](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M82](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
