2017 © Pedro Peláez
 

library ccloak

CCloak is a simple wrapper-class for link cloaking

image

alcr33k/ccloak

CCloak is a simple wrapper-class for link cloaking

  • Thursday, January 29, 2015
  • by alcr33k
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status Scrutinizer Code Quality Code Coverage, (*1)

CCloak

CCloak is a simple wrapper-class for link cloaking within the Anax framework (https://github.com/mosbth/Anax-MVC.git), (*2)

How to use

1. Download

The easiest way is to install using composer. Add to your composer.json:, (*3)

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

Then run composer update., (*4)

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:, (*5)

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., (*6)

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

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., (*8)

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., (*9)

Move the cloak folder to app/src and you are now good to go!, (*10)

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

4. How to use

The url to visit one of the redirects you created in redirects.php is as follows:, (*12)

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

Enjoy! . ..: Copyright (c) 2014 - 2015 Alexander Björkenhall, alex.alle@hotmail.com, (*14)

The Versions

29/01 2015

dev-master

9999999-dev http://dbwebb.se

CCloak is a simple wrapper-class for link cloaking

  Sources   Download

MIT

The Requires

 

by Alexander Björkenhall

mvc module feed link anax cloaking

23/01 2015

v1.0

1.0.0.0 http://dbwebb.se

CCloak is a simple wrapper-class for link cloaking

  Sources   Download

MIT

The Requires

 

by Alexander Björkenhall

mvc module feed link anax cloaking