rt-lib is (intended to be) collection of reusable PHP classes useful for WordPress plugin/theme projects
PHP JavaScript Shell HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
rt-attributes Code formatted with updated editorconfig file Sep 24, 2015
rt-db-model
rt-db-update
rt-email-template
rt-guide-tour
rt-importer js error fixed Oct 26, 2015
rt-mailbox
rt-plugin-info
rt-plugin-update-checker
rt-products
rt-reports
rt-theme-info
rt-theme-update-checker
rt-user-groups Code formatted with updated editorconfig file Sep 24, 2015
rt-wp-autoloader Code formatted with updated editorconfig file Sep 24, 2015
tests
.editorconfig
.gitignore Added gitignore Feb 14, 2014
.jshintignore
.jshintrc
.travis.yml
LICENSE.txt
phpunit.xml
readme.md
readme.txt
rt-lib.php

readme.md

rtLib Build Status

Contributors: rtcamp, rahul286, dipeshkakadiya, utkarshpatel, faishal, desaiuditd
Tags: library, autoloader, [database model](https://wordpress.org/plugins/tags/database model), [database updater](https://wordpress.org/plugins/tags/database updater), attributes, [user groups](https://wordpress.org/plugins/tags/user groups)
Requires at least: 3.6
Tested up to: 4.1
Stable tag: master
License: GPLv2 or later

Build Status

Description

rtLib is library of class that are required in development of any WordPress plugins.

Following are some classes:

  • RT_DB_Model
  • RT_DB_Update
  • RT_Plugin_Info
  • RT_Plugin_Update_Checker
  • RT_WP_Autoloader
  • RT_Theme_Update_Checker
  • RT_Email_Template
  • RT_Attributes

NOTE: Development in progress

Inspired from https://github.com/zendframework/zf2/tree/master/library/Zend/

To add it in your plugin/theme

git subtree add --prefix app/lib https://github.com/rtCamp/rt-lib.git master --squash

To update the library

git subtree pull --prefix app/lib https://github.com/rtCamp/rt-lib.git master --squash

Add following line in plugin loader file

include_once 'app/lib/rt-lib.php';

Alternatively you can add as a plugin also

** License **

Same [GPL] (http://www.gnu.org/licenses/gpl-2.0.txt) that WordPress uses!

Coming soon:

  • Private Attributes Support

See room for improvement?

Great! There are several ways you can get involved to help make Stream better:

  1. Report Bugs: If you find a bug, error or other problem, please report it! You can do this by creating a new topic in the issue tracker.
  2. Suggest New Features: Have an awesome idea? Please share it! Simply create a new topic in the issure tracker to express your thoughts on why the feature should be included and get a discussion going around your idea.

Changelog

1.5

  • Mailbox filters added
  • Logging error updated
  • Term meta migration added and function updated for WordPress 4.4 support
  • Cron updated
  • Email Message id and reference id logic added for mailbox thread

1.4

  • Mailbox bug fixes
  • Mailbox inline images fix

1.3

  • Mailbox Library Refactor
  • Importer Library Refactor

1.2

  • Mailbox Library

0.9

  • Rt_Products Refactor & Bug Fixes

0.8

  • RT Product Sync Library Added
  • Travis Config updated for WordPress Coding Standards
  • User Group Bug Fixes & additional method added to get users by term id.

0.7

  • A Few bug fixes for RT_LIB_FILE constant
  • DB Update Key changed for User Groups

0.6

  • Test Cases updated & Code Sniffer Config updated & pre-commit hook updated

0.5

  • Initial Basic Libraries.