PHPackages                             rudloff/drupal-link-psr13 - 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. rudloff/drupal-link-psr13

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

rudloff/drupal-link-psr13
=========================

Convert Drupal URL objects to PSR-13 compliant link objects

0.1.0(4y ago)03GPL-3.0-onlyPHPPHP &gt;=8.0

Since Feb 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Rudloff/drupal-link-psr13)[ Packagist](https://packagist.org/packages/rudloff/drupal-link-psr13)[ RSS](/packages/rudloff-drupal-link-psr13/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Drupal PSR-13 links
===================

[](#drupal-psr-13-links)

This library converts Drupal [URL](https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Url.php/class/Url/9.3.x)objects to [PSR-13](https://www.php-fig.org/psr/psr-13/) compliant link objects.

It can be used to pass links generated by Drupal to a PSR-13 library like [Symfony WebLink](https://github.com/symfony/web-link).

Usage
-----

[](#usage)

```
// Create a link object from a Drupal URL
$link = new \DrupalLinkPsr\Link(
    \Drupal\Core\Url::fromUri('https://example.com/')
);

// Get an array of attributes
$link->getAttributes();

// Get the URL
$link->getHref();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

1550d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdd814a0ae3aa6bffba169408071531ad41fc6f8b7473637c28a821692655549?d=identicon)[Rudloff](/maintainers/Rudloff)

---

Top Contributors

[![Rudloff](https://avatars.githubusercontent.com/u/840125?v=4)](https://github.com/Rudloff "Rudloff (2 commits)")

### Embed Badge

![Health badge](/badges/rudloff-drupal-link-psr13/health.svg)

```
[![Health](https://phpackages.com/badges/rudloff-drupal-link-psr13/health.svg)](https://phpackages.com/packages/rudloff-drupal-link-psr13)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)

PHPackages © 2026

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