PHPackages                             wieni/wmpathauto - 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. wieni/wmpathauto

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

wieni/wmpathauto
================

Dynamic path aliases, pathauto patterns &amp; automatic updating of aliases

3.1.0(11mo ago)010.5k↓39.1%2[2 issues](https://github.com/wieni/wmpathauto/issues)MITPHPPHP &gt;=7.1.0

Since Jan 23Pushed 11mo ago4 watchersCompare

[ Source](https://github.com/wieni/wmpathauto)[ Packagist](https://packagist.org/packages/wieni/wmpathauto)[ RSS](/packages/wieni-wmpathauto/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (11)Used By (0)

wmpathauto
==========

[](#wmpathauto)

[![Latest Stable Version](https://camo.githubusercontent.com/38be232efcc58189c7e0143d9b83702fcc0505f619188e29724d25dd97bfaf5e/68747470733a2f2f706f7365722e707567782e6f72672f7769656e692f776d706174686175746f2f762f737461626c65)](https://packagist.org/packages/wieni/wmpathauto)[![Total Downloads](https://camo.githubusercontent.com/942963862d9cc5f4ddf4d532bc0efbdff768bc4c2e64b517d14f24d135980692/68747470733a2f2f706f7365722e707567782e6f72672f7769656e692f776d706174686175746f2f646f776e6c6f616473)](https://packagist.org/packages/wieni/wmpathauto)[![License](https://camo.githubusercontent.com/e720961631550e4a4570db7d4848638eba0e81e49fa03886449b4b9383120419/68747470733a2f2f706f7365722e707567782e6f72672f7769656e692f776d706174686175746f2f6c6963656e7365)](https://packagist.org/packages/wieni/wmpathauto)

> Dynamic path aliases, pathauto patterns &amp; automatic updating of aliases

Why?
----

[](#why)

- **Create dynamic path aliases and pathauto patterns**, for the cases where tokens are too limited
- **Automatically update an entity alias** when other entities that were used to build this alias are updated

Installation
------------

[](#installation)

This package requires PHP 7.1 and Drupal 8 or higher. It can be installed using Composer:

```
 composer require wieni/wmpathauto
```

How does it work?
-----------------

[](#how-does-it-work)

### Dynamic path aliases

[](#dynamic-path-aliases)

Sometimes when defining pathauto patterns, you'll notice the token system is just too limited. This module supports building patterns and aliases in code using plugins with annotations, respectively `@AliasBuilder` and `@PatternBuilder`.

### Dependencies

[](#dependencies)

When updating an entity with a path alias, all entities, configs and other path aliases that were used to build that alias are stored in the database. In the future, when one of those path aliases, entities or configs are updated, the path alias that depends on them will be automatically regenerated.

There are multiple ways to define dependencies:

### Automatic dependencies with tokens

[](#automatic-dependencies-with-tokens)

When your pathauto pattern uses supported tokens, dependencies will be automatically added based on those tokens. For example, if your pattern contains the `[site:name]` token, the aliases using this pattern will be regenerated when the site name is changed.

Support for more token types can be added by creating plugins with the `@PatternTokenDependencyProvider` annotation, defining the token type in the `type` parameter and implementing the [`PatternTokenDependencyProviderInterface`](src/PatternTokenDependencyProviderInterface.php) interface.

### Manual dependencies using plugins

[](#manual-dependencies-using-plugins)

Dependencies can also be added manually by creating plugins with the `@EntityAliasDependencyProvider` annotation, implementing the [`EntityAliasDependencyProviderInterface`](src/EntityAliasDependencyProviderInterface.php) interface. Plugins with `AliasBuilder` or `PatternBuilder` annotations implementing the same interface are also considered.

Changelog
---------

[](#changelog)

All notable changes to this project will be documented in the [CHANGELOG](CHANGELOG.md) file.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

Distributed under the MIT License. See the [LICENSE](LICENSE) file for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance50

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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

Every ~217 days

Recently: every ~452 days

Total

10

Last Release

349d ago

Major Versions

1.3.0 → 2.0.02020-03-26

2.0.1 → 3.0.02020-07-23

PHP version history (2 changes)1.0.0PHP &gt;=7.2.0

1.1.0PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/734199ae17f8da336fef9ba81f7c37cda09b0f9a952f551235c32ecfad68488b?d=identicon)[Wieni](/maintainers/Wieni)

---

Top Contributors

[![DieterHolvoet](https://avatars.githubusercontent.com/u/3606531?v=4)](https://github.com/DieterHolvoet "DieterHolvoet (34 commits)")[![RobinHoutevelts](https://avatars.githubusercontent.com/u/9056689?v=4)](https://github.com/RobinHoutevelts "RobinHoutevelts (2 commits)")

---

Tags

drupal-8drupal-moduledrupal8-modulepath-aliaspathautopathauto-patterns

### Embed Badge

![Health badge](/badges/wieni-wmpathauto/health.svg)

```
[![Health](https://phpackages.com/badges/wieni-wmpathauto/health.svg)](https://phpackages.com/packages/wieni-wmpathauto)
```

###  Alternatives

[droptica/droopler

Droopler - SEO Friendly CMS &amp; Site Builder - is a Drupal-based website builder that helps you create beautiful, fast, and easy-to-manage websites

6543.1k1](/packages/droptica-droopler)

PHPackages © 2026

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