PHPackages                             karabinse/fabriq-headless-plugin - 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. karabinse/fabriq-headless-plugin

ActiveLibrary[API Development](/categories/api)

karabinse/fabriq-headless-plugin
================================

Use this package in conjunction with Fabriq CMS for your front end

2.0.1(3mo ago)0204MITPHPPHP ^8.2

Since May 30Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/KarabinSE/fabriq-headless-plugin)[ Packagist](https://packagist.org/packages/karabinse/fabriq-headless-plugin)[ Docs](https://github.com/karabinse/fabriq-headless-plugin)[ GitHub Sponsors](https://github.com/Karabin)[ RSS](/packages/karabinse-fabriq-headless-plugin/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (21)Versions (12)Used By (0)

Fabriq CMS Headless Plugin
==========================

[](#fabriq-cms-headless-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8e3b79c01e2c80aed68b2547ce9fc3da060ee3a523e5cfdfe105b6888a125a00/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61726162696e73652f6661627269712d686561646c6573732d706c7567696e2e737667)](https://packagist.org/packages/karabinse/fabriq-headless-plugin)

Common functionality that is needed in most projects connnected to Fabriq CMS

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

[](#installation)

You can install the package via composer:

```
composer require karabinse/fabriq-headless-plugin
```

Usage
-----

[](#usage)

Register the controllers to setup your API endpoints to be consumed by your front end.

```
// ...
use Karabin\FabriqPlugin\Http\Controllers\ContactController;
// ...

// News
Route::get('news', [NewsController::class, 'index']);
Route::get('news/{id}', [NewsController::class, 'show']);

// Contacts
Route::get('contacts', [ContactController::class, 'index']);
Route::get('contacts/{id}', [ContactController::class, 'show']);

// Menus
Route::get('menus', [MenuController::class, 'index']);
Route::get('menus/{slug}', [MenuController::class, 'show']);

// Pages
Route::get('pages/{slug}', [PageController::class, 'show']);
```

It is possible to include extra data in the response. Check out the transformers for available includes.

`HTTP GET` `/contacts?include=content,tags`

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Albin J Nilsson](https://github.com/KarabinSE)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 81.3% 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 ~66 days

Recently: every ~81 days

Total

11

Last Release

93d ago

Major Versions

v1.x-dev → 2.0.02026-03-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/53842b68734249d1bd4581663ce93e12dd241047cbdc11c49065f294c0228d36?d=identicon)[Albin N](/maintainers/Albin%20N)

---

Top Contributors

[![nivv](https://avatars.githubusercontent.com/u/4033930?v=4)](https://github.com/nivv "nivv (13 commits)")[![cleanSumo](https://avatars.githubusercontent.com/u/41383171?v=4)](https://github.com/cleanSumo "cleanSumo (3 commits)")

---

Tags

laravelKarabinfabriq-headless-plugin

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/karabinse-fabriq-headless-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/karabinse-fabriq-headless-plugin/health.svg)](https://phpackages.com/packages/karabinse-fabriq-headless-plugin)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k9.9M90](/packages/dedoc-scramble)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.3M42](/packages/spatie-laravel-pdf)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

3076.9k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

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