PHPackages                             alekhen/intoor-lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alekhen/intoor-lib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alekhen/intoor-lib
==================

Wordpress Theme Functionality

113PHP

Since Jan 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Alekhen/intoor-lib)[ Packagist](https://packagist.org/packages/alekhen/intoor-lib)[ RSS](/packages/alekhen-intoor-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Интоор Library
==============

[](#интоор-library)

*"If a Wordpress theme was a cherry then the Интоор Library is the pit."*

This library can and should be used as the backbone of your Wordpress theme development. It provides additional levels of functionality not currently built into the core Wordpress CMS and allows you as a theme developer to quickly extend the Wordpress Admin.

It may be helpful to know that *Интоор* \[ɪn.ˈtɔːr\], pronounced *in-tor*, is the Mongolian word for 'Cherry' and is commonly Romanized as *Intoor*.

**NOTE**: *This project is still in its infancy so changes and updates will come fast and often so stay tuned.*

Key Features
------------

[](#key-features)

- Create admin menus, custom post types, custom meta boxes, database tables, and much more simply with arrays
- Email mailing list creation and management
- Popularity tracking including page views, likes, and shares
- Google Analytics integration
- Secure data encryption

Requirements
------------

[](#requirements)

- [PHP v5.5](http://php.net/downloads.php) or later
- [Mcrypt](http://php.net/manual/en/book.mcrypt.php)
- [Wordpress 4.0](https://wordpress.org/download/) or later

Installation
------------

[](#installation)

1. Navigate to your Wordpress theme directory and create a new sub-directory called 'lib'. *Note: You can call the new sub-directory anything you want just be sure to complete installation step 5.*

    ```
    $ cd yoursite.com/wp-content/themes/yourtheme/
    $ mkdir lib
    $ cd lib
    ```
2. Initialize git and clone this repo into the `lib/` directory you created in step 1.

    ```
    $ git init
    $ git remote add origin git@github.com:Alekhen/intoor-lib.git
    $ git fetch
    $ git checkout -t origin/master
    ```
3. Create a configuration file unique to your project called `config.php` by copying `config-sample.php`. *Note: Do not change files directly in the Интоор Library other than `config.php` or else you run the risk of major conflicts if you ever want to update the library in the future.*

    ```
    $ cp config-sample.php config.php
    ```
4. Update the configuration file you created in step 3 with unique phrases to keep your data secure. Feel free to use keys generated by Wordpress.org's secret-key service if you'd like:

    ```
    define( 'INTOOR_API_KEY', 'put your unique phrase here' );
    define( 'INTOOR_MAIL_KEY', 'put your unique phrase here' );
    ```
5. \[*Optional*\] If you called the Интоор Library directory something other than 'lib', make sure to update the `INTOOR_DIR_NAME` definition in the `config.php` file you created in step 3.

    ```
    define( 'INTOOR_DIR_NAME', 'lib' );
    ```
6. Connect the Интоор Library to your Wordpress theme by including `lib/config.php` at the beginning of your theme's `functions.php` file.

    ```
    require_once dirname( __FILE__ ) . "/lib/config.php";
    ```
7. \[*Optional*\] Add the `lib/` directory to your theme's `.gitignore` file. This prevents a copy of the Интоор Library from being stored in your theme's git repo.

Updating Instructions
---------------------

[](#updating-instructions)

1. Navigate to the `lib/` directory inside your Wordpress theme and run a git pull to retrieve the updated and modified project files.

    ```
    $ cd yoursite.com/wp-content/themes/yourtheme/lib/
    $ git pull
    ```
2. Update your `lib/config.php` file with the current version.

    ```
    define( 'INTOOR_LIB_VERSION', '1.2' );
    ```

Change Log
----------

[](#change-log)

### v1.2 - Current Version

[](#v12---current-version)

- Setup and configuration refactor

### v1.1

[](#v11)

- PHP v5.5 progressive refactor (dropped support for PHP v5.3)
- Mailing List, Popular, &amp; Social API refactor

### v1.0

[](#v10)

- Initial file structure (config, paths, etc)
- Database, encryption, and general function classes that manage interaction with $wpdb
- Admin Menu class to create WP admin menu pages
- Post Type class to create custom post types
- Mailing List - WP admin menu, mailing list API, HTML subscribe &amp; unsubscribe emails, CSV generation
- Popular Tracking - Views and likes API
- Social Network Integration

License
-------

[](#license)

Copyright © 2014, [Hazard Media Group LLC](http://hazardmediagroup.com)

- [MIT License](https://github.com/Alekhen/intoor/blob/master/LICENSE)

Development
-----------

[](#development)

- Source hosted at [GitHub](https://github.com/Alekhen/intoor-lib).

#### Author

[](#author)

[Colton James Wiscombe](http://coltonjameswiscombe.com)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a79725553daa10fdfc07b4166cd398b3b3c20d6a2517869d0a9591c833a94ad?d=identicon)[Alekhen](/maintainers/Alekhen)

---

Top Contributors

[![Xenomorph99](https://avatars.githubusercontent.com/u/1837101?v=4)](https://github.com/Xenomorph99 "Xenomorph99 (193 commits)")

### Embed Badge

![Health badge](/badges/alekhen-intoor-lib/health.svg)

```
[![Health](https://phpackages.com/badges/alekhen-intoor-lib/health.svg)](https://phpackages.com/packages/alekhen-intoor-lib)
```

###  Alternatives

[liaison/revision

Seamless software updates library for CodeIgniter4 projects.

186.4k1](/packages/liaison-revision)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
