- Laravel 9+
- Vue3
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' => '[email protected]',
];
Your .env
file must contain:
FEEDBACK_EMAIL=
<template>
<feedback-form
name="Foo Bar"
email="[email protected]"
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>
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.