daikazu/simple-contact-form
Composer 安装命令:
composer require daikazu/simple-contact-form
包简介
A simple contact form
README 文档
README
Package description: CHANGE ME
Installation
Install via composer
composer require daikazu/simple-contact-form
Register Service Provider
Note! This and next step are optional if you use laravel>=5.5 with package auto discovery feature.
Add service provider to config/app.php in providers section
Daikazu\SimpleContactForm\ServiceProvider::class,
Register Facade
Register package facade in config/app.php in aliases section
Daikazu\SimpleContactForm\Facades\SimpleContactForm::class,
Publish Configuration File
php artisan vendor:publish --provider="Daikazu\SimpleContactForm\ServiceProvider" --tag="simple-contact-form-config"
Publish View File to /resource/views/vendor/ folder
php artisan vendor:publish --provider="Daikazu\SimpleContactForm\ServiceProvider" --tag="simple-contact-form-views"
Usage
Migrate contact_us table
php artisan migrate
@include('simple-contact-form::form')
TODO
- tests
Security
If you discover any security related issues, please email instead of using the issue tracker.
Credits
This package is bootstrapped with the help of melihovv/laravel-package-generator.
统计信息
- 总下载量: 331
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-19