Download the PHP package bensondevs/laravel-faq without Composer
On this page you can find all versions of the php package bensondevs/laravel-faq. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bensondevs/laravel-faq
More information about bensondevs/laravel-faq
Files in bensondevs/laravel-faq
Package laravel-faq
Short Description A simple, flexible, and customizable FAQ management package for Laravel.
License MIT
Homepage https://github.com/bensondevs/laravel-faq
Informations about the package 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
๐ Features
- Add FAQs with or without tags
- Tag-based filtering
- Multi-lingual question & 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
Require the package via Composer:
Publish config & migrations:
โ๏ธ Configuration
The default config file config/faq.php
will be published. You can customize table names and other options there.
โ Usage
Add a FAQ (no tag):
Add a FAQ with a tag:
Add with multiple tags:
Retrieve all FAQs:
Retrieve by tag key or instance:
๐งช Testing
This package uses Orchestra Testbench.
Run all tests:
๐จ Code Style
This package uses Laravel Pint for formatting.
To auto-format your code:
๐ License
This package is open-sourced software licensed under the MIT license.
๐ Credits
- Simeon Bensona
- Spatie for translatable & sortable packages
- Laravel community
All versions of laravel-faq with dependencies
spatie/eloquent-sortable Version ^4.5
spatie/laravel-translatable Version ^6.11