Skip to content

A collection of random php classes and other stuff which might be useful in web app development

Notifications You must be signed in to change notification settings

Paratron/KISS-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kiss Tools

Introduction

This collection of classes has already helped us in many cases. These little fellas are ticking in the back of our web-apps and support them with just the features we need.

@TODO: Translate the DocTags into english for some older classes...

These are the contents of the kiss toolset so far:

Frontend

bs_window.js

This AMD module depending on twitter bootstrap v2 brings you great window functionality to your project.

PHP

CacheFly

The cachefly class was designed quite a while ago to provide a simple way to add caching to already existing projects.

MySQLi extension

ORM Classes are plain stupid. Get over it. I think the mySQLi class provided by php is just fine - mostly. This class extends it with a couple of useful methods.

Request Info Collector

Use this class to easily collect data about your current visitor. Which OS is he using? Whats his preferred language? Whats the best matching language that I support? With this class, your information is just a function call away.

Sendmail Class

Sending E-Mails with PHP can be a real pain. This class takes the most weight off your shoulders and makes it really easy to send e-mails with PHP.

Unit testing class

Enables you to write unit tests in a totally easy way. The tests are groupable and the class renders the results in beautiful HTML5. What do you want more?

Twitter class

Get tweets for a specific search term or tweets of a specific username directly as PHP arrays.

Twig Blog class

Do you think wordpress is just too much? So do I. the kTwigBlog is a ridiculously simple blogging engine that relies on the twig templating system.

kUtils class

The kUtils class brings you some useful functions which are missing in PHP.
Currently containing:

  • array_map - A method to filter arrays and typecast their values. VERY useful for sanitizing user input.
  • array_id_to_key - A method which takes a field of a multidimensional array and turns it into the array key for fast queries.
  • array_sort_by_key - A method which can sort an multidimensional array by a value of a field.
  • template - Parses simple, mustache-like template strings.

Resource combiner

Rescombine packs several CSS or javascript files together with a simple syntax: http://example.com/rescombine.php?files=file1,file2,file3 The files are cached and only taken from a specific directory with a specific file extension. Caching is available. Minification is available. Use it with mod_rewrite to make requests beautiful: http://example.com/file1,file2,file3.css

SlimRouter

A component for the Slim PHP framework which makes your all-day-routing life much easier :)

About

A collection of random php classes and other stuff which might be useful in web app development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published