PHPackages                             bensondevs/laravel-faq - 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. bensondevs/laravel-faq

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

bensondevs/laravel-faq
======================

A simple, flexible, and customizable FAQ management package for Laravel.

v1.0.0-beta.1(11mo ago)124MITPHPPHP &gt;=8.2

Since Jun 13Pushed 11mo agoCompare

[ Source](https://github.com/bensondevs/laravel-faq)[ Packagist](https://packagist.org/packages/bensondevs/laravel-faq)[ Docs](https://github.com/bensondevs/laravel-faq)[ RSS](/packages/bensondevs-laravel-faq/feed)WikiDiscussions main Synced 1mo ago

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

Laravel FAQ 📚
=============

[](#laravel-faq-)

A simple, flexible, and customizable FAQ management package for Laravel.
Built with tagging, sorting, and localization in mind.

> Developed by [Bensondevs](https://github.com/bensondevs)

---

🚀 Features
----------

[](#-features)

- Add FAQs with or without tags
- Tag-based filtering
- Multi-lingual question &amp; answer support (via `spatie/laravel-translatable`)
- Sortable (via `spatie/eloquent-sortable`)
- API-ready with Resources
- Easy integration into existing Laravel apps
- Workbench support for local testing

---

📦 Installation
--------------

[](#-installation)

Require the package via Composer:

```
composer require bensondevs/laravel-faq
```

Publish config &amp; migrations:

```
# Publish config file
php artisan vendor:publish --tag=faq-config

# Publish migrations file
php artisan vendor:publish --tag=faq-migrations
```

⚙️ Configuration
----------------

[](#️-configuration)

The default config file `config/faq.php` will be published. You can customize table names and other options there.

✅ Usage
-------

[](#-usage)

#### Add a FAQ (no tag):

[](#add-a-faq-no-tag)

```
use Bensondevs\LaravelFaq\Faq;

$faq = Faq::add('What is Laravel?', 'Laravel is a PHP framework.');
```

#### Add a FAQ with a tag:

[](#add-a-faq-with-a-tag)

```
$faq = Faq::add(
    question: 'What is PHP?',
    answer: 'A scripting language.',
    locale: 'en',
    tag: 'php',
);
```

#### Add with multiple tags:

[](#add-with-multiple-tags)

```
$faq = Faq::add(
    question: 'What is Tailwind?',
    answer: 'A CSS framework.',
    locale: 'en',
    tag: ['css', 'tailwind'],
);
```

#### Retrieve all FAQs:

[](#retrieve-all-faqs)

```
Faq::all(); // returns FaqResource::collection
```

#### Retrieve by tag key or instance:

[](#retrieve-by-tag-key-or-instance)

```
use Bensondevs\LaravelFaq\Models\Tag;

Faq::all('php');
Faq::all(Tag::first());
Faq::all(['php', 'laravel']);
```

🧪 Testing
---------

[](#-testing)

This package uses [Orchestra Testbench](https://github.com/orchestral/testbench).

Run all tests:

```
./vendor/bin/phpunit
```

🎨 Code Style
------------

[](#-code-style)

This package uses Laravel Pint for formatting.

To auto-format your code:

```
./vendor/bin/pint
```

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](https://chatgpt.com/c/LICENSE).

🙌 Credits
---------

[](#-credits)

- [Simeon Bensona](https://github.com/bensondevs)
- [Spatie](https://spatie.be/) for [translatable](https://spatie.be/docs/laravel-translatable/v6/introduction) &amp; [sortable](https://github.com/spatie/eloquent-sortable) packages
- [Laravel](https://www.laravel.com) community

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance52

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

333d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6953e310af7dc10b68168564e03f24bfcc36b8dd0830dea1d1696f50cda16fff?d=identicon)[bensondevs](/maintainers/bensondevs)

---

Top Contributors

[![bensondevs](https://avatars.githubusercontent.com/u/76855099?v=4)](https://github.com/bensondevs "bensondevs (1 commits)")

---

Tags

faqlaravellaravelKnowledge BaseFAQBensondevs

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/bensondevs-laravel-faq/health.svg)

```
[![Health](https://phpackages.com/badges/bensondevs-laravel-faq/health.svg)](https://phpackages.com/packages/bensondevs-laravel-faq)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[kongulov/nova-tab-translatable

Making Nova Tab Translatable

8559.5k2](/packages/kongulov-nova-tab-translatable)[tapp/filament-form-builder

User facing form builder using Filament components

131.2k1](/packages/tapp-filament-form-builder)

PHPackages © 2026

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