PHPackages                             hasnhasan/routable - 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. [Database &amp; ORM](/categories/database)
4. /
5. hasnhasan/routable

ActiveLibrary[Database &amp; ORM](/categories/database)

hasnhasan/routable
==================

Elequent Model Routable

048PHP

Since Sep 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hasnhasan/routable)[ Packagist](https://packagist.org/packages/hasnhasan/routable)[ RSS](/packages/hasnhasan-routable/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Routable
========

[](#routable)

\##Install composer require hasnhasan/routable

\##Usage class Blog extends Model { use Routable;

```
    public $routeName = 'blogController@detail'; //required
    public $slugColumn = 'title';
    public $slugPrefix = 'blog';

    ....
}

$blog = Blog::create([
    'title' => 'New Blog Item',
    '_route' => [ // Optional
        'title'       => 'Seo Title',
        'description' => 'seo Description',
        'keywords'    => 'seo keywords',
    ],
]);

dd($blog->route);

$blog = Blog::whereSlug('slug-key')->first();
dd($blog);

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 81.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e435ed1449668c86ad57fb8a0cf99d1bdd37131f26c8f4eed40844d6d90afca?d=identicon)[hasnhasan](/maintainers/hasnhasan)

---

Top Contributors

[![goldsteam](https://avatars.githubusercontent.com/u/102119261?v=4)](https://github.com/goldsteam "goldsteam (9 commits)")[![hasnhasan](https://avatars.githubusercontent.com/u/3776411?v=4)](https://github.com/hasnhasan "hasnhasan (2 commits)")

### Embed Badge

![Health badge](/badges/hasnhasan-routable/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M117](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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