clevyr / laravel-simple-feedback-form
A simple feedback form
Installs: 2 465
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 1
Open Issues: 5
Requires
- php: ^8.1|^8.2
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.10
- pestphp/pest: ^2.18
- pestphp/pest-plugin-laravel: ^2.2
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^10.3
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-12-07 10:35:52 UTC
README
Requirements
- Laravel 9+
- Vue3
Installation
You can install the package via composer:
composer require clevyr/laravel-simple-feedback-form
You can publish the config file with:
php artisan vendor:publish --tag="laravel-simple-feedback-form-config"
You can publish the Feedback vue file with:
php artisan vendor:publish --provider="Clevyr\FeedbackForm\FeedbackFormServiceProvider"
This is an example of the contents of the published config file:
return [ 'email' => 'test@email.com', ];
Your .env
file must contain:
FEEDBACK_EMAIL=
Example
<template> <feedback-form name="Foo Bar" email="foo@bar.com" form-title="Some Foo Title" button-label="Feedback?" success-message="Your feedback\nwas sent!" submit-button-label="Submit" /> </template> // Options API <script> import FeedbackForm from '@/Components/FeedbackForm.vue'; export default { components: { FeedbackForm, }, }; </script> // Composition API <script setup> import FeedbackForm from '@/Components/FeedbackForm.vue'; </script>
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.