Skip to content

A simple URL Shortening Module for Kohana 3.1. Although not tested, this module should also work with Kohana 3.0

Notifications You must be signed in to change notification settings

davecarlson/Kohana-Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

A simple module to convert a full url to a short code version, and back again

How to:

  1. Create the shortener table in your database. db_schema.sql includes the necessary SQL.
  2. Edit copy config/shortener.php into application/config/ and adjust values. Please ensure the base_url ends in a trailing slash.
  3. Add 'shortener' => MODPATH.'shortener' to your modules array in bootstrap.php

The system currently runs on the URI /s/. If you wish to change this, simple adjust the routes in init.php and update the config base_url accordingly.

This module has been tested with Kohana 3.1, but should also work with Kohana 3.0.x

About

A simple URL Shortening Module for Kohana 3.1. Although not tested, this module should also work with Kohana 3.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages