PHPackages                             tom.kiernan/salsa - 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. [Framework](/categories/framework)
4. /
5. tom.kiernan/salsa

ActiveLibrary[Framework](/categories/framework)

tom.kiernan/salsa
=================

PHP Router

v1.0.1(7y ago)049[4 issues](https://github.com/tomkiernan120/Salsa/issues)[2 PRs](https://github.com/tomkiernan120/Salsa/pulls)PHPPHP &gt;=5.3.0

Since Sep 24Pushed 1w ago1 watchersCompare

[ Source](https://github.com/tomkiernan120/Salsa)[ Packagist](https://packagist.org/packages/tom.kiernan/salsa)[ RSS](/packages/tomkiernan-salsa/feed)WikiDiscussions master Synced 2d ago

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

Salsa [![Open Source Helpers](https://camo.githubusercontent.com/ebbd5651bbbc59a6d2db3d4c1b2bb0f6dffe0ca57fce278eb5a08c4ce62ac971/68747470733a2f2f7777772e636f64657472696167652e636f6d2f746f6d6b6965726e616e3132302f736f7572637265616d2f6261646765732f75736572732e737667)](https://www.codetriage.com/tomkiernan120/sourcream)
==============================================================================================================================================================================================================================================================================================================================

[](#salsa--)

Open source, PHP routing enging

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites

[](#prerequisites)

PHP &gt;= 5.4

### Installing

[](#installing)

```
$ composer require tom.kiernan/salsa

```

```
$Salsa = new Salsa\Salsa( array( "baseRoute" => "test/route/ ) ); // Set base route for woking in sub directories

$Salsa->addRoute( "/", "test" ); // Ouputs "test"

$Salsa->addRoute( "name/:name", function( $name ) { echo $name  } ) // example "name/tomkiernan" will output "tomkiernan"

$Salsa->run(); // actually runs the router;

```

Deployment
----------

[](#deployment)

Add additional notes about how to deploy this on a live system

Built With
----------

[](#built-with)

- [Composer](http://www.dropwizard.io/1.0.2/docs/) - Composer

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.

Versioning
----------

[](#versioning)

We are still looking to settle on a versioning system (open to suggestions)

Authors
-------

[](#authors)

- **Tom Kiernan** - *Creator* - \[Tom Kiernan\](composer require tom.kiernan/salsa)

License
-------

[](#license)

This project is licensed under the GNU License - see the [LICENSE.md](LICENSE.md) file for details

Acknowledgments
---------------

[](#acknowledgments)

- Hat tip to anyone whose code was used
- Inspiration
- etc

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance64

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% 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 ~17 days

Total

3

Last Release

2641d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10492277?v=4)[tmkiernan](/maintainers/tmkiernan)[@tmkiernan](https://github.com/tmkiernan)

---

Top Contributors

[![tomkiernan120](https://avatars.githubusercontent.com/u/13321712?v=4)](https://github.com/tomkiernan120 "tomkiernan120 (58 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

---

Tags

contributions-welcomefirst-timersfriendlyphprouter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tomkiernan-salsa/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[yiisoft/yii2-dev

Yii PHP Framework Version 2 - Development Package

14.3k100.8k31](/packages/yiisoft-yii2-dev)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[yiisoft/yii2

Yii PHP Framework Version 2

23529.4M9.4k](/packages/yiisoft-yii2)[openmage/magento-lts

A fork of Magento-1 that is accepting bug fixes (backward compatible, drop in replacement for official Magento)

915231.1k19](/packages/openmage-magento-lts)

PHPackages © 2026

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