PHPackages                             midnite81/intercept - 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. midnite81/intercept

ActiveLibrary[Framework](/categories/framework)

midnite81/intercept
===================

A miscellaneous set of Laravel middleware

v1.0.3(6y ago)03071MITPHPPHP &gt;=5.5.9

Since Jun 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/midnite81/intercept)[ Packagist](https://packagist.org/packages/midnite81/intercept)[ RSS](/packages/midnite81-intercept/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Intercept
=========

[](#intercept)

[![Latest Stable Version](https://camo.githubusercontent.com/76ed011c7024f3bff9fe95b786be137c21aca69ae6f83ab1d814030763f73ae0/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f696e746572636570742f76657273696f6e)](https://packagist.org/packages/midnite81/intercept) [![Total Downloads](https://camo.githubusercontent.com/46072ed031c13497080a2258a2b5d577d72d5e3a6d0c380623872c6f2fa6a437/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f696e746572636570742f646f776e6c6f616473)](https://packagist.org/packages/midnite81/intercept) [![Latest Unstable Version](https://camo.githubusercontent.com/f0af1e455412303546a3ae674ca3ff9d440b1ea32ba8ec3d20f13b7a0a508763/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f696e746572636570742f762f756e737461626c65)](https://packagist.org/packages/midnite81/intercept) [![License](https://camo.githubusercontent.com/f3deae7ae2531ab073813fb92d0c6f31dd43542eb68bdeb8949fccb4f48b338f/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f696e746572636570742f6c6963656e73652e737667)](https://packagist.org/packages/midnite81/intercept)

Some random pieces of middleware

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

[](#installation)

This package requires PHP 5.6+, and includes a Laravel 5 Service Provider.

To install through composer include the package in your `composer.json`.

```
"midnite81/intercept": "0.0.*"

```

Run `composer install` or `composer update` to download the dependencies or you can run `composer require midnite81/intercept`.

### Laravel 5 Integration

[](#laravel-5-integration)

To use the package with Laravel 5 firstly add the Messaging service provider to the list of service providers in `app/config/app.php`.

```
'providers' => [
  Midnite81\Intercept\InterceptServiceProvider::class
];
```

Publish the config and migration files using `php artisan vendor:publish --provider="Midnite81\Intercept\InterceptServiceProvider"`

Add the following to `app\Http\Kernel.php`

```
protected $routeMiddleware = [
    //...
    'isLocal' => \Midnite81\Intercept\Middleware\IsLocal::class,
    'noCache' => \Midnite81\Intercept\Middleware\NoCache::class,
    'noFacebook' => \Midnite81\Intercept\Middleware\NoFacebook::class,
    'homeIps' => \Midnite81\Intercept\Middleware\RestrictHomeIp::class,
    //...
];
```

Configuration File
------------------

[](#configuration-file)

Once you have published the config files, you will find an `Intercept.php` file in the `config` folder. You should look through these settings and update these where necessary.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

2309d ago

Major Versions

v0.0.1 → v1.0.02016-11-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/254850?v=4)[Simon Rogers](/maintainers/midnite81)[@midnite81](https://github.com/midnite81)

---

Top Contributors

[![midnite81](https://avatars.githubusercontent.com/u/254850?v=4)](https://github.com/midnite81 "midnite81 (14 commits)")

---

Tags

laravelmiddlewarelaravelsms

### Embed Badge

![Health badge](/badges/midnite81-intercept/health.svg)

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

###  Alternatives

[laravel/laravel

The skeleton application for the Laravel framework.

84.6k62.4M1.0k](/packages/laravel-laravel)[laravel/octane

Supercharge your Laravel application's performance.

4.0k24.7M205](/packages/laravel-octane)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3911.7k](/packages/codewithdennis-larament)

PHPackages © 2026

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