PHPackages                             kayladnls/seesaw - 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. [API Development](/categories/api)
4. /
5. kayladnls/seesaw

ActiveLibrary[API Development](/categories/api)

kayladnls/seesaw
================

Routing, forward and backward.

0.2.1(10y ago)81.1k2[2 issues](https://github.com/kayladnls/seesaw/issues)MITPHP

Since Apr 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kayladnls/seesaw)[ Packagist](https://packagist.org/packages/kayladnls/seesaw)[ RSS](/packages/kayladnls-seesaw/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (0)

Seesaw
======

[](#seesaw)

Routing, backwards and forwards

Seesaw is a reverse routing ornamentation that sits on top of [League/Route 1.\*](http://github.com/thephpleague/route). All of the functionality of route is available, as well as the ability to reverse routes.

### Usage:

[](#usage)

#### Adding a named route.

[](#adding-a-named-route)

```
  $seesaw = new Seesaw();
  $seesaw->addNamedRoute('JimBob', 'GET', 'url/jim/bob', function(){});
  echo $this->route('JimBob'); // will output: /url/jim/bob

```

#### Using a base url:

[](#using-a-base-url)

```
$seesaw->setBaseUrl('http://yolo.com');
$seesaw->addNamedRoute('JimBob', 'GET', 'url/jim/bob', function(){});
echo $this->route('JimBob'); // will output http://yolo.com/url/jim/bob

```

#### Relative and Secure URLs

[](#relative-and-secure-urls)

```
$seesaw->setBaseUrl('http://yolo.com');
$seesaw->addNamedRoute('JimBob', 'GET', 'url/jim/bob', function(){});
echo $this->route('JimBob')->secure(); // will output https://yolo.com/url/jim/bob
echo $this->route('JimBob')->relative(); // will output /url/jim/bob

```

#### Using paramterized routes

[](#using-paramterized-routes)

```
$seesaw->addNamedRoute('JimBob', 'GET', 'url/jim/bob/{id}', function(){});
echo $seesaw->route('JimBob', [123]); // will output /url/jim/bob/123;

```

##### Coming Soon:

[](#coming-soon)

This package will shortly be updated to work with the upcoming `league/route 2.0`

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~12 days

Recently: every ~1 days

Total

11

Last Release

3941d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12d34e4d0259dc2a2460d2803beeffb06e778064b93cac1b8f289f2d7e13b23f?d=identicon)[greydnls](/maintainers/greydnls)

---

Top Contributors

[![greydnls](https://avatars.githubusercontent.com/u/1276798?v=4)](https://github.com/greydnls "greydnls (32 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (6 commits)")[![rcatlin](https://avatars.githubusercontent.com/u/1914706?v=4)](https://github.com/rcatlin "rcatlin (2 commits)")

### Embed Badge

![Health badge](/badges/kayladnls-seesaw/health.svg)

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

92437.3k6](/packages/botman-driver-telegram)

PHPackages © 2026

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