PHPackages                             namest/facebook - 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. namest/facebook

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

namest/facebook
===============

v0.1(11y ago)11442MITPHP

Since Mar 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/luuhoangnam/facebook)[ Packagist](https://packagist.org/packages/namest/facebook)[ RSS](/packages/namest-facebook/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (10)Versions (2)Used By (0)

\#API (Prototype)

**Objects**

```
$user = new User();
$user->sync(); // Sync all user informations
$user->fetch(); // Get user information from facebook but not sync
$user->get(); // Get user information from local database
$user = User::find();
$user = User::findOrSync();
$user = User::findOrFetch();
```

**Edges**

```
$pages = $user->accounts; // Get all user's pages from local database
$user->accounts()->sync(); // Sync user's pages from facebook

$page = $pages[0]; // Return Page instance
$page->sync(); // All object api is the same
$page->posts; // Get all page's posts from local database
$page->posts()->sync(); // Sync page's posts from facebook
```

**Action**

```
// Comment
$user->leave($message)->on($post); // Leave comment
$user->leave($message)->on($comment); // Leave comment

// Like & Unline
$user->like($comment);
$user->like($post);
$user->unlike($comment);

// Hide & Unhide
$user->hide($comment);
$user->unhide($comment);

// Delete
$user->delete($comment);
$user->delete($post);

// Publish
$user->publish($message)->on($page); // Publish Post

// Schedule
$user->schedule($post, $published_at);
```

**Advanced Query**

```
$post->page; // Get page of post
```

**Supported Edges**

```
$user->accounts
```

```
$post->likes
$post->comments
```

```
$comment->likes
$comment->comments
```

Graph
=====

[](#graph)

```
(user:User)-[r:MANAGE]->(page:Page)
             r.access_token

(user:User)-[:LEAVE]->(comment:Comment)-[:ON]->(post:Post)
(user:User)-[:LEAVE]->(comment:Comment)-[:ON]->(comment:Comment)
(page:Page)-[:LEAVE]->(comment:Comment)-[:ON]->(post:Post)
(page:Page)-[:LEAVE]->(comment:Comment)-[:ON]->(comment:Comment)

(user:User)-[r:LIKE]->(post:Post)
             r.created_time
(user:User)-[r:LIKE]->(comment:Comment)
             r.created_time
(page:Page)-[r:LIKE]->(post:Post)
             r.created_time
(page:Page)-[r:LIKE]->(comment:Comment)
             r.created_time

(user:User)-[:PUBLISH]->(post:Post)-[:ON]->(page:Page)
(app:Application)-[:PUBLISH]->(post:Post)-[:ON]->(page:Page)

```

RDBS
====

[](#rdbs)

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4173d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b120d989836a5c37a0f9a2558a237d7c14325aa76ba60a24badc402296c220b?d=identicon)[luuhoangnam](/maintainers/luuhoangnam)

---

Top Contributors

[![luuhoangnam](https://avatars.githubusercontent.com/u/5616199?v=4)](https://github.com/luuhoangnam "luuhoangnam (163 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/namest-facebook/health.svg)

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

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k31.8M162](/packages/laravel-cashier)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M146](/packages/roots-acorn)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)

PHPackages © 2026

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