PHPackages                             alcr33k/ccloak - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alcr33k/ccloak

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alcr33k/ccloak
==============

CCloak is a simple wrapper-class for link cloaking

v1.0(11y ago)010MITPHPPHP &gt;=5.4

Since Jan 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/alcr33k/CCloak)[ Packagist](https://packagist.org/packages/alcr33k/ccloak)[ Docs](http://dbwebb.se)[ RSS](/packages/alcr33k-ccloak/feed)WikiDiscussions master Synced 2d ago

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

[![Build Status](https://camo.githubusercontent.com/5ddb9494844664da6be0393d5ebf7b9e30a63190e92628fa94513b2bfd22b69d/68747470733a2f2f7472617669732d63692e6f72672f616c637233336b2f43436c6f616b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alcr33k/CCloak)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f1da87f549ad2ede8e3c13ee32822ffad626790a1d287d0eb0c84eb9de39dd43/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c637233336b2f43436c6f616b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alcr33k/CCloak/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/df69343c02cb667f884cbfe372525fe49b6f26b9baf7f14a2a193ee0ce8871ac/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c637233336b2f43436c6f616b2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alcr33k/CCloak/?branch=master)CCloak
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#ccloak)

CCloak is a simple wrapper-class for link cloaking within the Anax framework ()

How to use
==========

[](#how-to-use)

1. Download

---

The easiest way is to install using composer. Add to your composer.json:

```
"require": {
	"alcr33k/ccloak": "dev-master",
}
```

Then run composer update.

2. MySql

---

The package is using MySql so make sure you have MySql setup in your Anax framework. If you have, go the next step, if not follow these steps:

Open the folder config in the package and you will find the file "database\_mysql.php", open the file and you will see that the first 3 fields (dsn, username, password) are empty. Fill those with your dsn, your database username and your database password.

Now save the file and move it to the anax config folder (app/config). You have now MySql done.

3. Setup

---

Have you a file called "database\_mysql.php" with your mysql credentials in you Anax config, if you answered yes keep on reading.

The first thing you need to do when you have installed the package is to move the file "redirect.php" located in the folder "move-to-webroot" to your actual webroot folder.

Move the cloak folder to app/src and you are now good to go!

Now visit webroot/redirect.php and start creating some redirects. The package will automatically setup the databses needed.

4. How to use

---

The url to visit one of the redirects you created in redirects.php is as follows:

**redirect.php?url=linkName** (change linkname to whatever you named the redirect)

Enjoy! . ..: Copyright (c) 2014 - 2015 Alexander Björkenhall,

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

4181d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9396330?v=4)[Alexander Björkenhall](/maintainers/alcr33k)[@alcr33k](https://github.com/alcr33k)

---

Top Contributors

[![alcr33k](https://avatars.githubusercontent.com/u/9396330?v=4)](https://github.com/alcr33k "alcr33k (26 commits)")

---

Tags

linkfeedmvcmoduleanaxcloaking

### Embed Badge

![Health badge](/badges/alcr33k-ccloak/health.svg)

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

PHPackages © 2026

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