PHPackages                             endeavors/components-routing - 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. [Framework](/categories/framework)
4. /
5. endeavors/components-routing

ActiveLibrary[Framework](/categories/framework)

endeavors/components-routing
============================

The Endeavors Components Routing package

2.1.x-dev(7y ago)048[1 PRs](https://github.com/hendeavors/components-routing/pulls)MITPHP

Since Aug 22Pushed 7y agoCompare

[ Source](https://github.com/hendeavors/components-routing)[ Packagist](https://packagist.org/packages/endeavors/components-routing)[ RSS](/packages/endeavors-components-routing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (5)Used By (0)

Components-Routing - Using new Laravel Routing features
=======================================================

[](#components-routing---using-new-laravel-routing-features)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d6c2d91adcd985e3418b17d48722eee4a86358f7be5666c3afaf24ce4780d02e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f68656e646561766f72732f636f6d706f6e656e74732d726f7574696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/hendeavors/components-routing/?branch=master)

This library enables the ability to use some of the new routing features only available in newer versions of the laravel framework such as signed urls (available starting in Laravel 5.6).

Require this package in your composer.json and update composer.

```
composer require endeavors/components-routing

```

Installation
============

[](#installation)

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
Endeavors\Components\Routing\FoundationServiceProvider::class,
```

Creating a signed route
=======================

[](#creating-a-signed-route)

You can create a signed route using the URL Facade.

```
URL::signedRoute('foo', ['id' => 1, 'username' => 'bob']);
```

For convenience, a helper can be used.

```
signed_route('foo', ['id' => 1]);
```

Validation
==========

[](#validation)

Validation of the signature is performed on the entire url.

```
use Illuminate\Support\Facades\Request;

public function verifyEmail()
{
    if (Request::hasValidSignature()) {
        // verify the email
    }
}
```

You may also check if the request is invalid.

```
use Illuminate\Support\Facades\Request;

public function verifyEmail()
{
    if (Request::hasInvalidSignature()) {
        // DON'T verify the email
    }
}
```

Validation can be performed only if specific parameters exist.

```
use Illuminate\Support\Facades\Request;

public function verifyEmail()
{
    // validate the signature if the email parameter exists
    if (Request::hasValidParameterSignature(['email'])) {
        // verify the email
    }
}
```

Again, you may check if the request has an invalid signature.

```
use Illuminate\Support\Facades\Request;

public function verifyEmail()
{
    // validate the signature if the email parameter exists
    if (Request::hasInvalidParameterSignature(['email'])) {
        // DON'T verify the email
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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 ~42 days

Total

3

Last Release

2726d ago

Major Versions

1.0.x-dev → 2.0.x-dev2018-10-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/0605cdd1d4d5e4f131117fe19061be0686ae300b8681c186d85fb2bba35f553b?d=identicon)[tbitowner](/maintainers/tbitowner)

---

Tags

urllaravelsignatureroutingurlssigned

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/endeavors-components-routing/health.svg)

```
[![Health](https://phpackages.com/badges/endeavors-components-routing/health.svg)](https://phpackages.com/packages/endeavors-components-routing)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M106](/packages/laravel-cashier)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M222](/packages/laravel-horizon)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.4k10.6M272](/packages/laravel-boost)[laravel/wayfinder

Generate TypeScript representations of your Laravel actions and routes.

1.7k4.1M69](/packages/laravel-wayfinder)[laravel/folio

Page based routing for Laravel.

608453.9k27](/packages/laravel-folio)

PHPackages © 2026

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