PHPackages                             payter/wp-remp-connector - 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. payter/wp-remp-connector

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

payter/wp-remp-connector
========================

WP plugin, helper for retrievie of REMP CRM user data

0.2.0(2y ago)31.2k[2 PRs](https://github.com/PayteR/wp-remp-connector/pulls)MITPHPPHP &gt;=7.1.0

Since Jun 21Pushed 2y agoCompare

[ Source](https://github.com/PayteR/wp-remp-connector)[ Packagist](https://packagist.org/packages/payter/wp-remp-connector)[ RSS](/packages/payter-wp-remp-connector/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

WP REMP Connector plugin for Wordpress
======================================

[](#wp-remp-connector-plugin-for-wordpress)

This plugin will provide functions to connect and retrieve API data from [REMP CRM](https://github.com/remp2020/crm-skeleton).

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

[](#installation)

Download this package from this repository and copy it into `/wp-content/plugins` directory of your WP installation and run `composer install` in this folder to download vendors. Then go to the administration panel and activate plugin in plugins admin section.

If you use [Bedrock](https://github.com/roots/bedrock) WP installation, just install it by composer command and that's all:

```
composer require payter/wp-remp-user-helper:dev-master

```

Configuration
-------------

[](#configuration)

Plugin provide several PHP Constants and one that is mandatory to configure. Please add this into `wp-config.php` and set your current REMP CRM domain.

```
define('REMP_URL', 'http://remp.crm.domain');

```

Please check other constants to configure in [wp-remp-user-helper.php](./wp-remp-user-helper.php)

Functions to use
----------------

[](#functions-to-use)

Plugin use functional programming - so all functionality is encapsuled in functions and ready to use. All functionality is PHP files that are located in [lib](./lib/) directory.

### [Api functions](./lib/api.php)

[](#api-functions)

API functions that connects and retrieve data from REMP CRM API. Most useful function to use:

```
// Get parsed data from api or null
remp_api_data($url, $options = [], $method = 'GET');

// Will connect to the REMP API and return back Guzzle client object
remp_api_client($url, $options = [], $method = 'GET')

```

### [Cache functions](./lib/cache.php)

[](#cache-functions)

Cache functions for storing of results. It's important to store results in cache becauseAPI connection is expensive operation. You can substitute this function by your own in [mu-plugins](https://wordpress.org/support/article/must-use-plugins/) folder

```
remp_cache_key($key);
remp_cache_get($key, $group = REMP_CACHE_KEY_GROUP, $force = false);
remp_cache_set($key, $data, $group = REMP_CACHE_KEY_GROUP, $expire = REMP_CACHE_EXPIRATION);

```

### [Helpers functions](./lib/helpers.php)

[](#helpers-functions)

Other functions, that are useful

```
// Will generate url to the REMP CRM by passing url path as argument
remp_get_url($url_path = '');

```

### [User API functions](./lib/user_api.php)

[](#user-api-functions)

Use this functions to retrieve user info

```
// Check, if user is logged in REMP
remp_user_logged_in();

// Retrieve user info from API
remp_user_get_info();

// Retrieve all subscriptions from API for logged user
remp_user_get_subscriptions();

// Check by subscriptions, if user have currently active subscription
remp_user_is_premium();

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

767d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/748bc8d25e6fe3b04070e14e5b459c82148b33412c2a0735f691a368c6964e81?d=identicon)[payter](/maintainers/payter)

---

Top Contributors

[![PayteR](https://avatars.githubusercontent.com/u/1248565?v=4)](https://github.com/PayteR "PayteR (11 commits)")

---

Tags

pluginrempwpplugincrmwpREMP

### Embed Badge

![Health badge](/badges/payter-wp-remp-connector/health.svg)

```
[![Health](https://phpackages.com/badges/payter-wp-remp-connector/health.svg)](https://phpackages.com/packages/payter-wp-remp-connector)
```

###  Alternatives

[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[philippbaschke/acf-pro-installer

An install helper for Advanced Custom Fields PRO

283724.6k](/packages/philippbaschke-acf-pro-installer)

PHPackages © 2026

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