ikoncept/fabriq-contact-form
最新稳定版本:1.3.0
Composer 安装命令:
composer require ikoncept/fabriq-contact-form
包简介
Basic contact message used for public facing contact forms
README 文档
README
🇺🇦
Basic contact message used for public facing contact forms
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require ikoncept/fabriq-contact-form
You can publish the config file with:
php artisan vendor:publish --tag="fabriq-contact-form-config"
This is the contents of the published config file:
return [ 'recipients' => [ 'example@example.com' ], 'bcc_recipients' => ['fopper@ss.com'], 'include_app_name' => true, 'subject' => 'Nytt meddelande från hemsidan', 'mail_view' => 'fabriq-contact-form::emails.contact_plain', 'mailable' => \Ikoncept\FabriqContactForm\Mail\ContactMessage::class, 'form_request_class' => \Ikoncept\FabriqContactForm\Http\Requests\ContactMessageRequest::class, 'validation_rules' => [ 'name' => 'required|max:125', 'email' => 'required|max:125', 'phone' => 'max:30', 'message' => 'required|max:3000' ] ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="fabriq-contact-form-views"
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 361
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-08