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

1.6.0(1y ago)0163MITPHPPHP ^8.2

Since May 30Pushed 1y 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 1mo ago

READMEChangelog (7)Dependencies (10)Versions (8)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

34

—

LowBetter than 77% of packages

Maintenance49

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~56 days

Recently: every ~80 days

Total

7

Last Release

369d ago

### 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

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M55](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[likeabas/filament-chatgpt-agent

Integrate with OpenAI ChatGPT

235.3k](/packages/likeabas-filament-chatgpt-agent)

PHPackages © 2026

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