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(10mo ago)0163MITPHPPHP ^8.2

Since May 30Pushed 10mo 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 today

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

36

—

LowBetter than 83% of packages

Maintenance54

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

Recently: every ~80 days

Total

7

Last Release

320d 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 (8 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

[codedredd/laravel-soap

A SoapClient wrapper integration for Laravel

221500.6k3](/packages/codedredd-laravel-soap)[rupadana/filament-api-service

A simple api service for supporting filamentphp

20399.6k7](/packages/rupadana-filament-api-service)[scalar/laravel

Render your OpenAPI-based API reference

6065.3k2](/packages/scalar-laravel)

PHPackages © 2026

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