PHPackages                             cyber-duck/silverstripe-x-framer - 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. cyber-duck/silverstripe-x-framer

ActiveSilverstripe-module[Security](/categories/security)

cyber-duck/silverstripe-x-framer
================================

Set an X-Frame header based on user IP

4.0.0(8y ago)102.0k2MITPHPPHP &gt;=5.6

Since Jun 27Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Cyber-Duck/Silverstripe-X-Framer)[ Packagist](https://packagist.org/packages/cyber-duck/silverstripe-x-framer)[ Docs](http://github.com/cyber-duck/silverstripe-x-framer)[ RSS](/packages/cyber-duck-silverstripe-x-framer/feed)WikiDiscussions develop Synced today

READMEChangelog (2)Dependencies (1)Versions (9)Used By (0)

SilverStripe X-Framer
=====================

[](#silverstripe-x-framer)

[![Latest Stable Version](https://camo.githubusercontent.com/83015b730f90179d464102e3c17b5af56e9d13eaad25b75af811b095050a38bf/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f73696c7665727374726970652d782d6672616d65722f762f737461626c65)](https://packagist.org/packages/cyber-duck/silverstripe-x-framer)[![Latest Unstable Version](https://camo.githubusercontent.com/e0639aaa3ac7e5ab29100e5c1877c738fa90faca99d64dd0c42831287a2fe779/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f73696c7665727374726970652d782d6672616d65722f762f756e737461626c65)](https://packagist.org/packages/cyber-duck/silverstripe-x-framer)[![Total Downloads](https://camo.githubusercontent.com/c28eb27fb9f4bcab4c4c96c0f87b49ca078819a8cc9c42932db9a8c27bdb12a3/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f73696c7665727374726970652d782d6672616d65722f646f776e6c6f616473)](https://packagist.org/packages/cyber-duck/silverstripe-x-framer)[![License](https://camo.githubusercontent.com/536d54db03fd8aa86ec5cca9b8084e5c8492d29895a8366d8adab4d96a6322aa/68747470733a2f2f706f7365722e707567782e6f72672f63796265722d6475636b2f73696c7665727374726970652d782d6672616d65722f6c6963656e7365)](https://packagist.org/packages/cyber-duck/silverstripe-x-framer)

Author: [Andrew Mc Cormack](https://github.com/Andrew-Mc-Cormack)

Set X-frame headers based on user IP bypassing issues with things like inpage Google Analytics not working with your website when you use X-Frame headers.

Features
--------

[](#features)

- Show X-Frame SAMEORIGIN headers based on IP

Guides
------

[](#guides)

- [Installation](/docs/installation)
    - [Composer](/docs/installation#composer)
    - [YML Configuration](/docs/installation#yml-configuration)
    - [Controller](/docs/installation#controller)

License
-------

[](#license)

```
Copyright (c) 2016, Andrew Mc Cormack .
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in
      the documentation and/or other materials provided with the
      distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

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

Total

6

Last Release

3169d ago

Major Versions

1.0.2 → 3.x-dev2017-02-02

3.x-dev → 4.0.02017-10-26

PHP version history (2 changes)3.x-devPHP &gt;=5.4.0

4.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c45a99726cc30692bc4821cfc198df1f5de85b1a15f9b66a0bf739acbac0309?d=identicon)[cyber-duck](/maintainers/cyber-duck)

---

Top Contributors

[![worzy](https://avatars.githubusercontent.com/u/1092417?v=4)](https://github.com/worzy "worzy (2 commits)")

---

Tags

modulesilverstripesilverstripe-xframersilverstripesilverstripe 4x-frame

### Embed Badge

![Health badge](/badges/cyber-duck-silverstripe-x-framer/health.svg)

```
[![Health](https://phpackages.com/badges/cyber-duck-silverstripe-x-framer/health.svg)](https://phpackages.com/packages/cyber-duck-silverstripe-x-framer)
```

###  Alternatives

[silverstripe/auditor

Adds security audit trail to SilverStripe.

10357.5k5](/packages/silverstripe-auditor)[bringyourownideas/silverstripe-composer-security-checker

Provides information if your SilverStripe application uses dependencies with known vulnerabilities.

10103.9k2](/packages/bringyourownideas-silverstripe-composer-security-checker)[feejin/silverstripe-securitytemplates

Custom security templates to mirror CMS

128.1k1](/packages/feejin-silverstripe-securitytemplates)

PHPackages © 2026

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