Simple and easy to use php class with examples