codeigniter

CodeIgniter and PHP_CodeSniffer

CodeIgniter is the king 😉 But if we want to create good quality code, we should be aware about CodeIgniter style guide standards. What can be better than PHP_CodeSniffer for keeping our code consistent and clean as much as it possible. Unfortunately standard rules from PHP_CodeSniffer doesn’t apply for CodeIgniter. You have to install additional set of rules – you can download them from here: PHP_CodeSniffer rules for CI .
CodeIgniter IMG – thumbnails on the fly

CodeIgniter IMG – thumbnails on the fly

CodeIgniter library to generate high quality thumbnails Library is based on excellent * Smarty plugin “Thumb” * created in 2005 by Christoph Erdmann. This version is a little different, we are using core from Thumb, and some modification which gives more flexibility to work with it. Features thumbnails are generated “on the fly” no additional actions required, cache for generated thumbnails, clear structure for generated thumbnails, thumbnails sharpening function, cropping function, fill space function Usage You need to upload file img.