PHPackages                             atk14/sluggish-router - 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. atk14/sluggish-router

ActiveLibrary[API Development](/categories/api)

atk14/sluggish-router
=====================

Base class for ATK14 routers generating nice looking URLs with slugs

v1.1.4(2y ago)034.8k↓57.1%MITPHPPHP &gt;=5.3.0

Since Jan 8Pushed 2y ago2 watchersCompare

[ Source](https://github.com/atk14/SluggishRouter)[ Packagist](https://packagist.org/packages/atk14/sluggish-router)[ Docs](https://github.com/atk14/SluggishRouter)[ RSS](/packages/atk14-sluggish-router/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

SluggishRouter
==============

[](#sluggishrouter)

Base class for ATK14 routers generating nice looking URLs with slugs

It can handle "detail" URLs for models that have method `getSlug($lang)` and static method `GetInstanceBySlug($slug,&$lang)`. You can find both in the [Atk14Catalog](http://catalog.atk14.net/).

Basic usage
-----------

[](#basic-usage)

Router class:

```
