PHPackages                             jeroenpeters1986/statamic-likebox - 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. jeroenpeters1986/statamic-likebox

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

jeroenpeters1986/statamic-likebox
=================================

1.0.4(1y ago)027↓91.7%MITPHPPHP ^7.3|^8.0

Since Dec 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jeroenpeters1986/statamic-likebox)[ Packagist](https://packagist.org/packages/jeroenpeters1986/statamic-likebox)[ RSS](/packages/jeroenpeters1986-statamic-likebox/feed)WikiDiscussions master Synced 3w ago

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

Facebook Like box for Statamic
==============================

[](#facebook-like-box-for-statamic)

[![Statamic 3.3+](https://camo.githubusercontent.com/e1c8d60fbf613f79124cdc87014d40d0f5566952d5c951f16a7e5446d79f7ed7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d332e3025323025374325323034253230253743253230352d4646323639453f7374796c653d666f722d7468652d6261646765266c696e6b3d68747470733a2f2f73746174616d69632e636f6d)](https://camo.githubusercontent.com/e1c8d60fbf613f79124cdc87014d40d0f5566952d5c951f16a7e5446d79f7ed7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d332e3025323025374325323034253230253743253230352d4646323639453f7374796c653d666f722d7468652d6261646765266c696e6b3d68747470733a2f2f73746174616d69632e636f6d)[![Latest Version on Packagist](https://camo.githubusercontent.com/66b3d438184224c4613e756337666495acdda949f39320312672174dd9c2e7ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a65726f656e706574657273313938362f73746174616d69632d6c696b65626f782e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jeroenpeters1986/statamic-likebox)[![Number of downloads](https://camo.githubusercontent.com/745a99f58dbe21fae4c8043fa7158ec0e4e37f4ef8f59537f4db5a48da75bc07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a65726f656e706574657273313938362f73746174616d69632d6c696b65626f782e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jeroenpeters1986/statamic-likebox)

Main Features
-------------

[](#main-features)

- Simply display a Facebook Like box on your website (using a Tag)
- Comfortable configurable
- Support for the PEAK pagebuilder (so you can just add it from the Control Panel)

How to Use
----------

[](#how-to-use)

This add-on provides a configurable tag to display a Facebook Like box on their website. You can place the tag in the templates yourself if you are using a 'vanilla' Statamic installation. If you use the Peak package with the Pagebuilder, the Like box can be added with just a click from the Control Panel!

### The Tag

[](#the-tag)

The most simple version of the tag, which only takes the page as an argument, looks like this (in Antlers):

`{{ likebox page='statamic'}}`

This will display a simple 240px wide widget with the avatar/profile picture of the page, a button to like the page and a fan-count.

### The options

[](#the-options)

- `page` The fanpage, if the URL of the page is , only use 'quoteshirts'
- `width` The width in pixels of the widget
- `height` The height in pixels of the widget (we recommend not to set it, the widget will automatically adjust this)
- `lang` The language the Like box is displayed in. Default is `en_US`, but you can set it to almost anything like `nl_NL`, `en_GB`, `de_DE` or `en_UD` (upside down, ¡ʎllɐǝɹ)
- `compact_header` Whether to make it compact, by adding the Like button directly below the pagetitle. Can be `true` or `false`, default `false`
- `hide_header_cover` Whether to choose a neutral background instead of the uploaded page cover image. Can be `true` or `false`, default `true`
- `content_tabs` If this is provided, the box will grow and can show tabs with events, timeline and messages. These can be combined into a single, comma separated string like `timeline,events,messages`, or just `timeline`. You can choose the order and the amount of tabs to show. By default, this is off.

So if you combine lots of these options you can end up with an Antlers tag like this: `{{ likebox page='quoteshirts' width='320' lang='nl_NL' content_tabs='timeline,events' hide_header_cover='false' compact_header='true' }}`

### When you have the PEAK starter kit installed

[](#when-you-have-the-peak-starter-kit-installed)

If you have the PEAK started kit installed, you're in luck! You can just edit any page from the Control Panel and add the 'Facebook likebox' block to the page. You will be presented with all the options above in a comfortable manner.

How to Install
--------------

[](#how-to-install)

You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root:

```
composer require jeroenpeters1986/statamic-likebox
```

### Requirements

[](#requirements)

- PHP 7.4 or 8.0
- Laravel 7 or 8
- Statamic 3.3+ (also includes Statamic v4 and v5)

Support
-------

[](#support)

I love to share with the community. Nevertheless, coding/learning/updating takes a lot of work, time and effort.

If you like my software, feel free to [buy me a coffee or two with Ko-Fi](https://ko-fi.com/jeroenpeters)

Changelog
---------

[](#changelog)

### 1.0.4

[](#104)

Statamic 5 support

### 1.0.3

[](#103)

Statamic 4 support

### 1.0.2

[](#102)

Updated requirements, so you can also install/use it on Statamic 3.4!

### 1.0.1

[](#101)

Optimized the installation in the PEAK Pagebuilder

### 1.0.0

[](#100)

First version

License
-------

[](#license)

This plugin is published under the MIT license.

Disclaimer
----------

[](#disclaimer)

This add-on is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Facebook / Meta, or any of its subsidiaries or its affiliates. This add-on merely enables users to easily implement a Facebook widget on their website. The official Facebook website can be found at

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% 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 ~155 days

Total

5

Last Release

651d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6163ceb51702f02eb3f6b1921c2fe81d28a0a784dd4f0c1cafea30f50175dc25?d=identicon)[jeroenpeters1986](/maintainers/jeroenpeters1986)

---

Top Contributors

[![jeroenpeters1986](https://avatars.githubusercontent.com/u/6328938?v=4)](https://github.com/jeroenpeters1986 "jeroenpeters1986 (22 commits)")[![jeroenimpres](https://avatars.githubusercontent.com/u/104824977?v=4)](https://github.com/jeroenimpres "jeroenimpres (1 commits)")

### Embed Badge

![Health badge](/badges/jeroenpeters1986-statamic-likebox/health.svg)

```
[![Health](https://phpackages.com/badges/jeroenpeters1986-statamic-likebox/health.svg)](https://phpackages.com/packages/jeroenpeters1986-statamic-likebox)
```

###  Alternatives

[statamic/seo-pro

68488.6k](/packages/statamic-seo-pro)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254319.5k](/packages/statamic-ssg)[rias/statamic-redirect

29322.9k](/packages/rias-statamic-redirect)[spatie/statamic-responsive-images

Responsive Images for Statamic

114250.6k](/packages/spatie-statamic-responsive-images)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23100.9k12](/packages/marcorieser-statamic-livewire)

PHPackages © 2026

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