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

ActiveLibrary[Security](/categories/security)

promptphp/intercept-support
===========================

Shared support utilities and configuration for Intercept middleware packages.

v0.1.2(today)00MITPHPPHP ^8.4

Since Jun 19Pushed todayCompare

[ Source](https://github.com/promptphp/intercept-support)[ Packagist](https://packagist.org/packages/promptphp/intercept-support)[ Docs](https://intercept.promptphp.com)[ RSS](/packages/promptphp-intercept-support/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (1)Versions (4)Used By (0)

promptphp/intercept-support
===========================

[](#promptphpintercept-support)

This package offers shared support utilities and configuration for the Intercept AI Agent middleware collection. It is used internally by Intercept middleware packages.

Most users do not need to install or use this package directly. It is installed automatically when required by an Intercept middleware package.

What this package provides
--------------------------

[](#what-this-package-provides)

`intercept-support` provides shared infrastructure used across the Intercept ecosystem:

- the shared `config/intercept.php` configuration file
- the `intercept-config` publish tag
- the `InterceptConfig` helper for resolving middleware config
- the `InterceptServiceProvider` for Laravel package registration

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

[](#installation)

You usually do not need to install this package directly.

It is installed automatically when installing an Intercept middleware package:

```
composer require promptphp/intercept-injection-guard
```

If needed, it can be installed directly:

```
composer require promptphp/intercept-support
```

Publishing the config
---------------------

[](#publishing-the-config)

Intercept uses one shared configuration file:

```
config/intercept.php

```

You may publish it with:

```
php artisan vendor:publish --tag=intercept-config
```

Publishing config is optional. Every Intercept middleware package has internal defaults and will continue to work even if its config section is missing.

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

[](#configuration)

The published config file contains global defaults for Intercept middleware.

Example:

```
