agence-adeliom / easy-faq-bundle
A Symfony simple FAQ bundle for EasyAdmin
Installs: 2 369
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.0.2
- ext-json: *
- agence-adeliom/easy-common-bundle: ^2.0.55
- agence-adeliom/easy-fields-bundle: ^2.0.55
- agence-adeliom/easy-page-bundle: ^2.0.55
- babdev/pagerfanta-bundle: ^3.0
- easycorp/easyadmin-bundle: ^3.4 || ^v4.0
- pagerfanta/doctrine-orm-adapter: ^3.0
- pagerfanta/twig: ^3.0
- symfony/config: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/deprecation-contracts: ^2.2 || ^v3.0
- symfony/event-dispatcher: ^5.4 || ^6.0
- symfony/form: ^5.4 || ^6.0
- symfony/framework-bundle: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/options-resolver: ^5.4 || ^6.0
- symfony/property-access: ^5.4 || ^6.0
- 2.x-dev
- 2.0.55
- 2.0.54
- 2.0.53
- 2.0.52
- 2.0.49
- 2.0.48
- 2.0.47
- 2.0.46
- 2.0.45
- 2.0.44
- 2.0.43
- 2.0.42
- 2.0.41
- 2.0.40
- 2.0.39
- 2.0.38
- 2.0.37
- 2.0.36
- 2.0.35
- 2.0.34
- 2.0.33
- 2.0.32
- 2.0.31
- 2.0.30
- 2.0.29
- 2.0.28
- 2.0.27
- 2.0.26
- 2.0.25
- 2.0.24
- 2.0.23
- 2.0.22
- 2.0.19
- 2.0.18
- 2.0.17
- 2.0.16
- 2.0.15
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 1.0.2
- 1.0.1
- 1.0.0
- dev-main
- dev-develop
This package is auto-updated.
Last update: 2023-02-02 16:11:45 UTC
README
Easy FAQ Bundle
Provide a basic FAQ system for Easyadmin.
Features
- A Easyadmin CRUD interface to manage FAQ elements
Versions
Repository Branch | Version | Symfony Compatibility | PHP Compatibility | Status |
---|---|---|---|---|
2.x |
2.x |
5.4 , and 6.x |
8.0.2 or higher |
New features and bug fixes |
1.x |
1.x |
4.4 , and 5.x |
7.2.5 or higher |
No longer maintained |
Installation with Symfony Flex
Add our recipes endpoint
{ "extra": { "symfony": { "endpoint": [ "https://api.github.com/repos/agence-adeliom/symfony-recipes/contents/index.json?ref=flex/main", ... "flex://defaults" ], "allow-contrib": true } } }
Install with composer
composer require agence-adeliom/easy-faq-bundle
Setup database
Using doctrine migrations
php bin/console doctrine:migration:diff php bin/console doctrine:migration:migrate
Without
php bin/console doctrine:schema:update --force
Documentation
Manage in your Easyadmin dashboard
Go to your dashboard controller, example : src/Controller/Admin/DashboardController.php
<?php namespace App\Controller\Admin; ... use App\Entity\EasyFaq\Entry; use App\Entity\EasyFaq\Category; class DashboardController extends AbstractDashboardController { ... public function configureMenuItems(): iterable { ... yield MenuItem::section('easy.faq.faq'); // (Optional) yield MenuItem::linkToCrud('easy.faq.admin.menu.entries', 'fa fa-file-alt', Entry::class); yield MenuItem::linkToCrud('easy.faq.admin.menu.categories', 'fa fa-folder', Category::class); ...
Customize faq's root path
#config/packages/easy_faq.yaml easy_faq: ... page: root_path: '/blog'
NOTE : You will need to clear your cache after change because the RouteLoader need to be cleared.