PHPackages                             smichaelsen/pagepath - 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. smichaelsen/pagepath

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

smichaelsen/pagepath
====================

3.0(5y ago)420.2k6[2 PRs](https://github.com/smichaelsen/typo3-pagepath/pulls)1GPL-2.0+PHP

Since May 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/smichaelsen/typo3-pagepath)[ Packagist](https://packagist.org/packages/smichaelsen/pagepath)[ Docs](https://github.com/smichaelsen/typo3-pagepath)[ RSS](/packages/smichaelsen-pagepath/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (8)Dependencies (1)Versions (15)Used By (1)

Pagepath extension for TYPO3 CMS
================================

[](#pagepath-extension-for-typo3-cms)

This is an extension for the TYPO3 CMS.

What it does
------------

[](#what-it-does)

This extension provides an API for other extensions to create a path to a TYPO3 page for page id and additional URL parameters.

For example the page with id `26` and `tx_ttnews[tt_news]=287` can be converted to `http://example.com/news/health_care_for_typo3_programmers/`.

This is especially helpful in contexts where `typolink` is not available, for example when creating frontend URLs in a backend module.

How to use
----------

[](#how-to-use)

To obtain a URL use the following call:

`$pagepath = \Smic\Pagepath\Api::getPagePath($pageId, $parameters);`

Page id must be an integer value. Parameters must be an array. The format is the same as for the `\TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl()` function.

The following examples are valid and equivalent:

```
$parameters = ['tx_ttnews[tt_news]' => 123];
$parameters = ['tx_ttnews' => ['tt_news' => 123]];

```

The result will be either a fully qualified URL to the page or an \\Smic\\Pagepath\\ApiException is thrown with further information on what went wrong.

Important! If there are many web sites in the page tree, the call should be made within the proper web site.

For example, if there are example1.com and example2.com, and Backend is open at , resolving will work correctly only for example1.com. To overcome this limitation, make sure you have `config.typolinkEnableLinksAcrossDomains=1` in TypoScript setup for all sites.

Caching
-------

[](#caching)

Calls to `\Smic\Pagepath\Api::getPagePath()` are not cached. For an improved performance you can use `\Smic\Pagepath\Api::getPagePathCached()`, which caches its result internally.

Compatibility
-------------

[](#compatibility)

pagepath VersionCompatible with TYPO3 version(s)1.04.5 - 6.21.17.x2.x8.73.x9.5Contacts
--------

[](#contacts)

Maintained by Sebastian Michaelsen

Credits to the original developer Dmitry Dulepov

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 54.2% 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 ~144 days

Recently: every ~134 days

Total

12

Last Release

2091d ago

Major Versions

1.1.6 → 2.0.02019-04-11

2.2.1 → 3.02020-10-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/886face3e57e668db2bf95d62325f423baf7e9d8949a9e4c84d3a0e6c3891920?d=identicon)[smichaelsen](/maintainers/smichaelsen)

---

Top Contributors

[![dmitryd](https://avatars.githubusercontent.com/u/306133?v=4)](https://github.com/dmitryd "dmitryd (32 commits)")[![smichaelsen](https://avatars.githubusercontent.com/u/912435?v=4)](https://github.com/smichaelsen "smichaelsen (23 commits)")[![bussard](https://avatars.githubusercontent.com/u/313512?v=4)](https://github.com/bussard "bussard (1 commits)")[![kvonspiczak](https://avatars.githubusercontent.com/u/2630690?v=4)](https://github.com/kvonspiczak "kvonspiczak (1 commits)")[![sgalinski](https://avatars.githubusercontent.com/u/122370?v=4)](https://github.com/sgalinski "sgalinski (1 commits)")[![superman32432432](https://avatars.githubusercontent.com/u/7228420?v=4)](https://github.com/superman32432432 "superman32432432 (1 commits)")

### Embed Badge

![Health badge](/badges/smichaelsen-pagepath/health.svg)

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

41515.2k](/packages/wazum-sluggi)[praetorius/vite-asset-collector

Use AssetCollector to embed frontend assets generated by vite

54299.7k1](/packages/praetorius-vite-asset-collector)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.3M74](/packages/typo3-cms-redirects)[typo3/cms-sys-note

TYPO3 CMS System Notes - Records with messages which can be placed on any page and contain instructions or other information related to a page or section.

116.2M37](/packages/typo3-cms-sys-note)[b13/assetcollector

Asset collector - Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10123.2k](/packages/b13-assetcollector)

PHPackages © 2026

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