PHPackages                             gedex/janrain-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. gedex/janrain-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

gedex/janrain-cli
=================

001PHP

Since Aug 26Pushed 10y ago58 watchersCompare

[ Source](https://github.com/xwp/janrain-cli-tools)[ Packagist](https://packagist.org/packages/gedex/janrain-cli)[ RSS](/packages/gedex-janrain-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

jcli
====

[](#jcli)

CLI ools for interacting with Janrain.

- [Install From Source](#install)
- [Configuration](#config)
- [Commands](#commands)
- [Find Records](#find)
- [Count Records](#count)
- [View a Single Record](#view-single)
- [Update a Record](#udpate)
- [Update All Empty ETUID Attributes](#etuid)

Install From Source
-------------------

[](#install-from-source)

```
git clone git@github.com:xwp/janrain-cli-tools.git jcli
cd jcli
composer install

```

You can run via `./bin/jcli` from current directory.

If you want to build the phar file:

```
box build

```

and you can move the file to your OS `PATH`:

```
mv jcli.phar /usr/local/bin/jcli

```

Now you can run `jcli` from anywhere.

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

[](#configuration)

The first time you need to do is configure your `jcli`. By default `client_id`, `client_secret`, and `base_url` are empty:

```
jcli config -l

```

These are required config keys that need to be set. Set it with:

```
jcli config client_id YOUR_CLIENT_ID
jcli config client_secret YOUR_CLIENT_SECRET
jcli config base_url YOUR_BASE_URL

```

Additionally you can set `default_type` to set default entity type. Now, every time you run command you can ignore `-t` option.

```
jcli config default_type user

```

Commands
--------

[](#commands)

```
$ ./bin/jcli
jcli version @package_version@

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  config                 Janrain config
  help                   Displays help for a command
  list                   Lists commands
 entity
  entity:count           Retrieve number of records of entity type
  entity:fill-unsub-key  Fill empty unsubscribe key on records
  entity:find            Find entity
  entity:update          Update an entity
  entity:view            Retrieve a single entity
 type
  type:list              Retrieve all entity types

```

### Find Records

[](#find-records)

```
jcli entity:find "gender != 'male'"

```

Limit the output to 10 records:

```
jcli entity:find "gender != 'male'" -m 10

```

Specifying offset (start from 5th record):

```
jcli entity:find "gender != 'male'" -m 10 -f 5

```

### Count Records

[](#count-records)

```
jcli entity:count "gender != 'male' AND birthday is not null"

```

### View a Single Record

[](#view-a-single-record)

```
jcli entity:view id=999
jcli entity:view uuid=c0613105-f632-41ce-80eb-56668df7fc83

```

### Update a Record

[](#update-a-record)

```
jcli entity:update id=999 givenName=Akeda displayName="Akeda Bagus"

```

### Update All Empty ETUID Attributes

[](#update-all-empty-etuid-attributes)

```
jcli entity:fill-unsub-key

```

You may get API rate limit from Janrain. If so, the jcli will output the message. When that happens, you can re-run `jcli entity:fill-unsub-key` again for the remaining records.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

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/dc9dd485942002d2de369dee002498b5e0811eac2bcf727b8984fa89a99be43c?d=identicon)[gedex](/maintainers/gedex)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gedex-janrain-cli/health.svg)

```
[![Health](https://phpackages.com/badges/gedex-janrain-cli/health.svg)](https://phpackages.com/packages/gedex-janrain-cli)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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