PHPackages                             fbvendor/grathapi - 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. fbvendor/grathapi

ActiveLibrary[API Development](/categories/api)

fbvendor/grathapi
=================

he Graph API is the primary way for applications to read and write Facebook social graph data. All of our SDKs and products interact with the Graph API. The rest of our APIs are extensions of the Graph API

13PHP

Since Mar 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sergey93051/facebook-API-Graph-93051)[ Packagist](https://packagist.org/packages/fbvendor/grathapi)[ RSS](/packages/fbvendor-grathapi/feed)WikiDiscussions main Synced yesterday

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

Facebook analytics Graph API
============================

[](#facebook-analytics-graph-api)

### This repository contains the open source that allows you to access the Facebook Platform from your Laravel app;

[](#this-repository-contains-the-open-source--that-allows-you-to-access-the-facebook-platform-from-your-laravel-app)

1.The package can be installed with Composer. Run this command:

```
composer require fbvendor/grathapi

```

2.Publish the public assets:

```
php artisan vendor:publish --provider="Fbvendor\\Grathapi\\Providers\\FbpublishesServiceProvider"

```

3. add variable to .env

    - FBTOKEN='token'
    - FCACCAUNT='Id'

Note: This version of the Facebook analytics for PHP requires PHP 7.1 or greater.

Simple GET example of a page profile.

[![Screenshot from 2022-03-14 18-28-52](https://user-images.githubusercontent.com/49534288/158193284-df2c542b-029e-4996-8a5d-d645ae0030e5.png)](https://user-images.githubusercontent.com/49534288/158193284-df2c542b-029e-4996-8a5d-d645ae0030e5.png)

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/27474aa5d5116e57049d76d72ba5b9e3ce191a98683a92cea24f0f154fcd0725?d=identicon)[sergey93051](/maintainers/sergey93051)

---

Top Contributors

[![sergey93051](https://avatars.githubusercontent.com/u/49534288?v=4)](https://github.com/sergey93051 "sergey93051 (2 commits)")

### Embed Badge

![Health badge](/badges/fbvendor-grathapi/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

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