PHPackages                             redbuzz/bxconnect - 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. [API Development](/categories/api)
4. /
5. redbuzz/bxconnect

AbandonedArchivedLibrary[API Development](/categories/api)

redbuzz/bxconnect
=================

BLackxperience Connect / Bx Connect is a simple REST API. This repository contains the open source PHP Class that allows you to access BX Platform from your PHP app.

016PHP

Since Aug 17Pushed 11y agoCompare

[ Source](https://github.com/bonkzero404/bxconnect)[ Packagist](https://packagist.org/packages/redbuzz/bxconnect)[ RSS](/packages/redbuzz-bxconnect/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Blackxperience Connect
======================

[](#blackxperience-connect)

BLackxperience Connect / Bx Connect is a simple REST API. This repository contains the open source PHP Class that allows you to access BX Platform from your PHP app.

- Simple implements
- Facebook Connect
- Twitter Connect
- Email Register
- Get users profile

Easy to install with composer
=============================

[](#easy-to-install-with-composer)

```
{
    "require": {
        "redbuzz/bxconnect": "dev-master"
    }
}
```

Usage
=====

[](#usage)

In this case you are assumed to have an application on facebook and twitter, then you are also listed on the BX Connect application, the first step you should do is configure some parameters array with the following example:

```
$Blackxperience = array (
	"CLIENT_ID" 			=> "YOUR_BX_CLIENT_ID",
	"CLIENT_KEY" 			=> "YOUR_BX_CLIENT_KEY",
	"CLIENT_APP_NAME" 		=> "YOUR_BX_APP_NAME",
	"FB_APP_ID" 			=> "YOUR_FACEBOOK_APP_ID",
	"FB_APP_SECRET" 		=> "YOUR_FACEBOOK_APP_SECRET",
	"TW_CONSUMER_ID" 		=> "YOUR_TWITTER_CONSUMER_ID",
	"TW_CONSUMER_SECRET" 	=> "YOUR_TWITTER_CONSUMER_SECRET"
);

$BxConnect = new BxConnect\BlackxperienceAuth($Blackxperience);
```

After doing the above configuration, the next line you have to make a callback URL, it is required to do a redirect to your application.

```
$BxConnect::setCallbackUrl("http://YOUR_PHP_APP_WEBSITE_URL");
```

The final step is to apply the requirements of your application is very easy, consider the example below:

```
if (@$_GET['act'] == 'logout') {
	$obj::logoutData();
	header ("location: http://YOUR_PHP_APP_WEBSITE_URL");
}

if ($BxConnect::getUserData() == false) {
	if (!isset($_GET['status_code'])) {
		echo "

					Username/Email

					Password

					Login
					Twitter Login
					Facebook Login
					Register
					Forgot Password

		";
	}
	else if ($_GET['status_code'] == '0000') {
		var_dump($BxConnect::getUserData());
		echo "";
		echo "Logout ";
		echo "Update User";
	}
	else {
		echo "Error code : " . $_GET['status_code'] ;
	}
}
else {
	var_dump($BxConnect::getUserData());
	echo "Logout ";
	echo "Update User";
}
```

Example Result
==============

[](#example-result)

```
array (size=8)
  'username' => string 'johndoe' (length=7)
  'email' => string 'bonkzero404@gmail.com' (length=21)
  'user_profile' =>
    array (size=8)
      'fullname' => string 'John Doe' (length=8)
      'gender' => string 'Male' (length=4)
      'birthdate' => string '1985-04-18' (length=10)
      'city' => string 'Jakarta' (length=7)
      'occupation' => string 'Developer' (length=9)
      'phone' => string '08777529xxxx' (length=12)
      'about_me' => string 'about description' (length=17)
      'photo_profile' => string 'http://connect.blackxperience.com/development/Public/Assets/images/image_profiles/fbbf8f0ba779080d6f954d261e375f22.jpg' (length=118)
  'additional_info' =>
    array (size=3)
      'website_acc' => string 'www.panjisatria.com' (length=20)
      'facebook_acc' => string 'www.facebook.com' (length=16)
      'twitter_acc' => string 'www.twitter.com' (length=15)
  'social_data' =>
    array (size=4)
      'facebook_img_profile' => string 'https://graph.facebook.com/1464164856/picture?type=square' (length=57)
      'twitter_img_profile' => string 'http://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png' (length=79)
      'facebook_link' => string 'http://www.facebook.com/1464164856' (length=34)
      'twitter_link' => string 'https://twttier.com/prasgroo' (length=28)
  'register_via' => string 'email' (length=5)
  'login_via' => string 'facebook' (length=8)
  'time_access' => string '2014-08-16 14:51:38' (length=19)
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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/4ade660fd7802ec7b3750bf315223c397f62622d0574524e10df2fb881def7a4?d=identicon)[bonkzero404](/maintainers/bonkzero404)

---

Top Contributors

[![bonkzero404](https://avatars.githubusercontent.com/u/5472701?v=4)](https://github.com/bonkzero404 "bonkzero404 (32 commits)")

### Embed Badge

![Health badge](/badges/redbuzz-bxconnect/health.svg)

```
[![Health](https://phpackages.com/badges/redbuzz-bxconnect/health.svg)](https://phpackages.com/packages/redbuzz-bxconnect)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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