https://github.com/oriondevelops/filament-feedback
A Filament plugin to collect feedback.
https://github.com/oriondevelops/filament-feedback
Last synced: 24 days ago
JSON representation
A Filament plugin to collect feedback.
- Host: GitHub
- URL: https://github.com/oriondevelops/filament-feedback
- Owner: oriondevelops
- License: mit
- Created: 2023-11-25T21:06:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T08:16:38.000Z (almost 2 years ago)
- Last Synced: 2025-12-14T15:11:40.418Z (7 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# A Filament plugin to collect feedback
[](https://packagist.org/packages/oriondevelops/filament-feedback)
[](https://packagist.org/packages/oriondevelops/filament-feedback)
This Filament plugin is a simple wizard that collects user feedback and forwards it to the chosen email address.
## Installation
You can install the package via composer:
```bash
composer require oriondevelops/filament-feedback
```
Next ensure you setup [a mail service](https://laravel.com/docs/master/mail).
## Usage
You need to register the plugin with your preferred Filament panel providers. This can be done inside of your `PanelProvider`, e.g. `AdminPanelProvider`.
```php
plugin(
FeedbackPlugin::make()
->sendResponsesTo(email: 'oriondevelops@gmail.com')
);
}
}
```
You can now click on the "Feedback" menu item in your Filament app to see the feedback plugin.
### Customizing visibility
Define who can view the feedback page.
```php
plugin(
FeedbackPlugin::make()
->visible(fn() => auth()->user()->can('view feedback page'))
);
}
}
```
### Customizing the navigation item
```php
plugin(
FeedbackPlugin::make()
->slug('feedback')
->label('Feedback')
->icon('heroicon-o-face-smile')
->group('Help')
->sort(3),
);
}
}
```
### Customizing the page
```php
plugin(
FeedbackPlugin::make()
->page(ExtendedFeedbackPage::class),
);
}
}
```
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security
Please review [Security Policy](.github/SECURITY.md) on how to report security vulnerabilities.
## Credits
- [Mücahit Uğur](https://github.com/oriondevelops)
- [All Contributors](https://github.com/oriondevelops/filament-feedback/contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.