PHPackages                             tccltd/tcc-skippable-segment - 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. tccltd/tcc-skippable-segment

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

tccltd/tcc-skippable-segment
============================

Skippable Route Config

1.0.1(11y ago)42.9k5PHPPHP &gt;=5.3.0

Since Mar 4Pushed 9y ago4 watchersCompare

[ Source](https://github.com/tccltd/TccSkippableSegment)[ Packagist](https://packagist.org/packages/tccltd/tcc-skippable-segment)[ RSS](/packages/tccltd-tcc-skippable-segment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

TccSkippableSegment
===================

[](#tccskippablesegment)

This module is based on the work by: @towr ().

It allows you to specify segments of routes which can be skipped (E.g. \[/:lang\]/my-page/anotherpage - The lang part may be omitted).

Usage
-----

[](#usage)

SkippableSegment route. Modified Segment route where you can skip optional segments.

```
'router' => [
    'routes' => [
        'home' => [
            'type' => 'SkippableSegment',
            'options' => [
                'route' => '[/:lang]',
                'constraints' => [
                    'lang' => '(?i:en|us)',
                ],
                'defaults' => [
                    'lang' => '',
                    'controller' => 'MyController',
                    'action' => 'index'
                ],
                'skippable' => [
                    'lang' => true,
                ],
            ],
            'may_terminate' => true,
            'child_routes' => [
                'my-page' => [
                    'type' => 'Segment',
                    ...
                    ...
                ],
            ],
        ],
    ],
);
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

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

Every ~37 days

Total

2

Last Release

4048d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8af3b8337869b1148a02dcbc3531730dbc8589cbb8d9df523e560fad6f20b4de?d=identicon)[shipleyr](/maintainers/shipleyr)

![](https://www.gravatar.com/avatar/2eaddd407d97157252f498929934fb836fbc8e5478ac5638d52ba978ce4c6940?d=identicon)[mtudor](/maintainers/mtudor)

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tccltd-tcc-skippable-segment/health.svg)

```
[![Health](https://phpackages.com/badges/tccltd-tcc-skippable-segment/health.svg)](https://phpackages.com/packages/tccltd-tcc-skippable-segment)
```

###  Alternatives

[dudapiotr/zftable

Flexible tool to generate table

7530.9k](/packages/dudapiotr-zftable)[slm/google-analytics

Google Analytics tracking integration for Zend Framework 2

4180.3k](/packages/slm-google-analytics)[blanchonvincent/zf2-lazy-loading-module

ZF2 Lazy Loading Module 1.5.2 - Provide a library to implements lazy loading module in ZF2

353.7k](/packages/blanchonvincent-zf2-lazy-loading-module)[zf-hipsters/bootstrap-flash-messenger

Simple implementation of ZF2 flash messengers using bootstrap. Contains easy helpers that will save you a LOT of time.

159.3k](/packages/zf-hipsters-bootstrap-flash-messenger)[blanchonvincent/cdn-light

ZF2 module v1.1.0 - Manage your own CDN with ZF2 application

103.6k](/packages/blanchonvincent-cdn-light)

PHPackages © 2026

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