PHPackages                             beebmx/kirby-rickroll - 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. beebmx/kirby-rickroll

ActiveKirby-plugin

beebmx/kirby-rickroll
=====================

Kirby Rickroll

1.0.0(5y ago)742MITPHPPHP ^7.2

Since May 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/beebmx/kirby-rickroll)[ Packagist](https://packagist.org/packages/beebmx/kirby-rickroll)[ RSS](/packages/beebmx-kirby-rickroll/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Kirby Rickroll
==============

[](#kirby-rickroll)

**Kirby Rickroll** redirects some visitors than try to "break" into your site.

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

[](#installation)

### Composer

[](#composer)

```
composer require beebmx/kirby-rickroll

```

Usage
-----

[](#usage)

After you install the package, your site will going to redirect that visitors to Rick.

The urls "protected" out of the box are:

```
[
    "wp-login.php",
    "wp-admin",
    "user/login",
    "admin",
    "composer.lock",
    "yarn.lock",
    ".env"
]
```

General options
---------------

[](#general-options)

This package comes with some things to configure.

OptionValueDescriptionbeebmx.kirby-rickroll.urls(array)An array of URLs to "protect"beebmx.kirby-rickroll.redirect(string)An url to redirect when a protected one is hitExample
-------

[](#example)

Here is an example if you want to change the default settings.

In your `config.php` file just:

```
return [
    'beebmx.kirby-rickroll.urls' => [
        'admin',
        'my-secure-url',
        'this-is-my-admin-url'
    ],
    'beebmx.kirby-rickroll.redirect' => 'https://youtu.be/RfiQYRn7fBg?t=17',
];
```

Hook
----

[](#hook)

If you want to do something when someone hit your URLs, we have you cover.

In your `config.php` file just add the hook:

```
return [
    'hooks' => [
        'beebmx.kirby-rickroll.hit' => function ($url) {
            //Do something
        }
    ]
];
```

Inspiration
-----------

[](#inspiration)

This package is inspire by the tweet of [Liam Hammett](https://twitter.com/LiamHammett/status/1260984553570570240).

License
-------

[](#license)

Copyright © 2019-2020 Fernando Gutierrez [@beebmx](https://github.com/beebmx) and contributors

Licensed under the MIT license, see [LICENSE.md](LICENSE.md) for details.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2184d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/434a3fd09c4701e824184e720b3d2fd97814ed8d1275417f6762c411bf146328?d=identicon)[beebmx](/maintainers/beebmx)

---

Top Contributors

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

---

Tags

kirbykirby-3kirby-cmskirby-pluginkirby-rickrollkirby3rickrollkirbykirby-pluginkirby-cmskirby3kirby-3rickrollkirby-rickroll

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/beebmx-kirby-rickroll/health.svg)

```
[![Health](https://phpackages.com/badges/beebmx-kirby-rickroll/health.svg)](https://phpackages.com/packages/beebmx-kirby-rickroll)
```

###  Alternatives

[bnomei/kirby3-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code or a cronjob

9339.9k2](/packages/bnomei-kirby3-janitor)[bnomei/kirby3-feed

Generate a Atom/JSON/RSS-Feed and XML-Sitemap from Pages-Collections

7224.8k](/packages/bnomei-kirby3-feed)[belugadigital/kirby-navigation

Kirby 5 field for hierarchical menus with drag &amp; drop level indentation.

8713.4k](/packages/belugadigital-kirby-navigation)[bnomei/kirby3-dotenv

Kirby Plugin for environment variables from .env

4144.1k1](/packages/bnomei-kirby3-dotenv)[bnomei/kirby3-fingerprint

File Method and css/js helper to add cache-busting hash and optional Subresource Integrity to file

4130.5k1](/packages/bnomei-kirby3-fingerprint)[timnarr/kirby-imagex

Modern images for Kirby CMS – This plugin helps you orchestrate modern, responsive and performant images in Kirby

797.5k1](/packages/timnarr-kirby-imagex)

PHPackages © 2026

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