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 5d 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

Maturity28

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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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