PHPackages                             hadefication/trail - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hadefication/trail

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hadefication/trail
==================

Your package description here

0.1.1(8y ago)05MITJavaScript

Since Mar 29Pushed 8y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Trail
=====

[](#trail)

This package will expose a `@trail` blade directive that you can include into your master blade or layout file. This blade directive exposes a `Trail` JavaScript object that contains config and the collection of named routes that your application has. The directive also exposes a helper method named `route` for convenience, if you know what I mean.

Usage
-----

[](#usage)

1. Add this package to your Laravel application by running `composer require hadefication/trail`
2. Include `@trail` to your master blade or your main layout file.
3. Start using `route('route.name')` in your JavaScript to access route URLs.
4. That's all about it! Noice eh!?

### Configs

[](#configs)

The package comes with a nifty config file where you can customize how the package will behave.

- `excludeNamedRoutesToDirective`: as the config suggests, this config, if set to `true`, it will exclude the routes collection dump in the `Trail` object.
- `excludeRouteHelperMethodToDirective`: yep, if set to `true`, it will exclude the `route` helper method in the JavaScript export done in `@trail` directive.
- `excludeRoutes`: This config accepts an array of route names or route URI path that you wish to be excluded in the route collection dump added in Trail.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~25 days

Total

3

Last Release

2966d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9cd718c82f37ed135a350effd6b2b7c3a75a815a029bbfccbf8c777d1aa3184?d=identicon)[hadefication](/maintainers/hadefication)

---

Top Contributors

[![hadefication](https://avatars.githubusercontent.com/u/6673244?v=4)](https://github.com/hadefication "hadefication (11 commits)")

### Embed Badge

![Health badge](/badges/hadefication-trail/health.svg)

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

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k29](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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