https://github.com/jamessessford/filament-questionnaire-builder
Filament Plugin to allow the easy creation of Question Sets and Questionnaires
https://github.com/jamessessford/filament-questionnaire-builder
Last synced: 3 months ago
JSON representation
Filament Plugin to allow the easy creation of Question Sets and Questionnaires
- Host: GitHub
- URL: https://github.com/jamessessford/filament-questionnaire-builder
- Owner: jamessessford
- License: mit
- Created: 2024-04-24T05:16:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T14:24:14.000Z (4 months ago)
- Last Synced: 2025-01-27T15:33:06.812Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Filament Questionnaire Builder
[](https://packagist.org/packages/preferredmanagement/filament-questionnaire-builder)
[](https://github.com/preferredmanagement/filament-questionnaire-builder/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/preferredmanagement/filament-questionnaire-builder/actions?query=workflow%3A"Fix+PHP+code+styling"+branch%3Amain)
[](https://packagist.org/packages/preferredmanagement/filament-questionnaire-builder)This package is designed to make it easy to build question sets and questionnaires in your Filament App.
## Installation
You can install the package via composer:
```bash
composer require preferredmanagement/filament-questionnaire-builder
```You can publish and run the migrations with:
```bash
php artisan vendor:publish --tag="filament-questionnaire-builder-migrations"
php artisan migrate
```You can publish the config file with:
```bash
php artisan vendor:publish --tag="filament-questionnaire-builder-config"
```This is the contents of the published config file:
```php
];
```## Usage
To use this plugin, add it to your PanelServiceProvider
```php
// app/Providers/Filament/AdminPanelServiceProvider.phpclass AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
...
->plugins([
FilamentQuestionnaireBuilderPlugin::make()
]);
}
}
```## Tenancy
This package was build to also be able to function with the Filament concept of multi tenancy.
To enable multi tenancy mode, add the following to your .env file
```ini
FQB_TENANT_MODEL=\App\Models\Team
```## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [James Sessford](https://github.com/jamessessford)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.