PHPackages                             amro045/laravelhashid - 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. [Security](/categories/security)
4. /
5. amro045/laravelhashid

ActiveLibrary[Security](/categories/security)

amro045/laravelhashid
=====================

Helps you to have more secure URLs.

0.2.1(3y ago)124071MITPHP

Since Feb 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/AmRo045/LaravelHashId)[ Packagist](https://packagist.org/packages/amro045/laravelhashid)[ RSS](/packages/amro045-laravelhashid/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Hash Id
===============

[](#laravel-hash-id)

This package uses [Hashids](https://hashids.org/php/) under the hood.

Installation
------------

[](#installation)

You can add this package to your project by running the following command in your project root directory:

```
composer require amro045/laravelhashid

```

Configuration
-------------

[](#configuration)

Once you added the package, you can configure the package by publishing the package default configuration using this command:

```
php artisan laravelhashid:install

```

Usage
-----

[](#usage)

First add the `HasHashId` trait to your model:

```
