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 today

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.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

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

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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