Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am abasjo on github.
  • I am hosch (https://keybase.io/hosch) on keybase.
  • I have a public key ASCBxjv9pAC-408JQPC9DIbdtp55WnRr_rwQRkcQVSeAewo

To claim this, I am signing this object:

@ruaq
ruaq / HashidsRoutable.php
Last active December 11, 2018 00:12 — forked from TheNodi/HashidsRoutable.php
Laravel Model Bindings with Hashids
<?php
namespace App;
use Vinkla\Hashids\HashidsManager;
/**
* Bind a model to a route based on the hash of
* its id (or other specified key).
*