PHPackages                             neerajsohal/amplifier - 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. neerajsohal/amplifier

ActiveLibrary[API Development](/categories/api)

neerajsohal/amplifier
=====================

Extension of Facbeook PHP SDK

v0.3(11y ago)52071MITPHPPHP &gt;=5.3.0

Since Nov 26Pushed 9y ago2 watchersCompare

[ Source](https://github.com/neerajsohal/amplifier)[ Packagist](https://packagist.org/packages/neerajsohal/amplifier)[ Docs](https://github.com/neerajsohal/amplifier)[ RSS](/packages/neerajsohal-amplifier/feed)WikiDiscussions master Synced 2w ago

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

Amplifier
=========

[](#amplifier)

[![Build Status](https://camo.githubusercontent.com/b50dc8bd2ee6cbb623d0cd50b9fc232ff139d36c46734552bf1c598617c5989c/68747470733a2f2f7472617669732d63692e6f72672f6e656572616a736f68616c2f616d706c69666965722e706e67)](https://travis-ci.org/neerajsohal/amplifier)

Amplifier is an extension of Facebook PHP SDK. It provides additional methods to Facebook's SDK.

Couple of months back, I started writing my own methods on top of Facebook's PHP SDK to cut down the development time by defining methods for tasks like:

- whether a person liked a page or not
- has he provided support for a particular extended permission

I am building Amplifier by keeping Composer in mind. Therefore, for installing Amplifier, you should be comfortable with composer. If you are not, I suggest you learn it. It's one of the best things that has happened to PHP and will surely make you a better programmer :)

Requirements
------------

[](#requirements)

- Facbeook's PHP SDK
- PHP version &gt; 5.3.\*

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

[](#installation)

To install via Composer, Simply add a dependency on neerajsohal/amplifier to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Amplfier's master branch:

```
{
    "require": {
        "neerajsohal/amplifier": "dev-master"
    }
}
```

If you want to use other version, you can check . It lists all the versions available. I strongly recommend latest stable version of master branch version for production.

Available Methods
-----------------

[](#available-methods)

**hasLikedPage**

Checks weather a user has liked a page or not

```
Amplifier::hasLikedPage(bigint $page_id)
```

Returns

```
boolean

```

**uploadImage**

uploads an image to user's profile

```
Amplifier::uploadImage(String $image_path, String $description)
```

returns

```
mixed

```

links
-----

[](#links)

Amplifier on Packagist:

Facbeook's PHP SDK on Github:

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Every ~168 days

Total

3

Last Release

4262d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f02ffb8f3bc26ae1f6b24160279025c4eff4c59c360c71610624dccabf636a86?d=identicon)[neerajsohal](/maintainers/neerajsohal)

---

Top Contributors

[![neerajsohal](https://avatars.githubusercontent.com/u/88097?v=4)](https://github.com/neerajsohal "neerajsohal (30 commits)")

---

Tags

sdkfacebook

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/neerajsohal-amplifier/health.svg)

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

###  Alternatives

[tobiassjosten/facebook-service-provider

Silex ServiceProvider for the Facebook SDK

266.1k](/packages/tobiassjosten-facebook-service-provider)

PHPackages © 2026

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