clevyr/laravel-simple-feedback-form
Clevyr's Simple Feedback Form
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.
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
648,266,899
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
429,221,767
607
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.0 | ^8.3| | ^12.0 | MIT | |
| v1.0.0 | ^8.3| | ^11.0 | MIT | |
| v0.3.0 | ^8.1| | ^10.0 | MIT | |
| v0.2.1 | ^8.1 | ^9.0 | MIT | |
| v0.2.0 | ^8.1 | ^9.0 | MIT | |
| v0.1.3 | ^7.3| | ^8 | MIT | |
| v0.1.2 | ^7.3| | ^8 | MIT | |
| v0.1.1 | ^8 | ^8 | MIT | |
| v0.1.0 | ^8 | ^8 | MIT |