PHPackages                             zmarquez/stackphp-ampcors - 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. zmarquez/stackphp-ampcors

ActiveLibrary

zmarquez/stackphp-ampcors
=========================

AMP CORS middleware for StackPHP

v1.1(6y ago)0182MITPHPPHP &gt;=5.4.0

Since Jan 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zmarquez/stackphp-ampcors)[ Packagist](https://packagist.org/packages/zmarquez/stackphp-ampcors)[ RSS](/packages/zmarquez-stackphp-ampcors/feed)WikiDiscussions master Synced 6d ago

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

AMP CORS middleware for StackPHP
================================

[](#amp-cors-middleware-for-stackphp)

This package contains a [StackPHP](http://stackphp.com/) middleware that manages the AMP security CORS requests.

Options
-------

[](#options)

The `AmpCorsMiddleware` accepts an array of options:

- **publisherOrigin**: contains the value of the source origin.
- **queryString**: array with parameters to add of the request.

Example
-------

[](#example)

```
