ezzing/email-template-manager
Composer 安装命令:
composer require ezzing/email-template-manager
包简介
Create, save, and edit your own email templates, and then send them to anybody whenever you need it
README 文档
README
Create, save, and edit your own email templates, and then send them to anybody whenever you need it.
How to install
0- Add email-template-manager as a composer dependency
composer require ezzing/email-template-manager
1- Edtir your composer.json to add email-template-manager into PSR-4 autoloading
"psr-4": {
"App\\": "app/",
"Ezzing\\EmailTemplateManager\\":"vendor/ezzing/email-template-manager/src"
}
2- Edit your config/app.php to add a new service provider
'providers' => [
...
Ezzing\EmailTemplateManager\EmailTemplatesManagerProvider::class,
...
]
3- Refresh autoload_classmap.php so new service provider can be recognised
composer dump-autoload
4- Publish new package
php artisan vendor:publish
Files are published in /public/resources/emailTemplateManager directory.
5- Refresh autoload_classmap.php so new models and seeders cand be recognised
composer dump-autoload
6- Migrate email-template-manager tables into your DB
php artisan migrate
7- Seed new email-template-manager tables
php artisan db:seed --class=MailTemplateManagerSeeder
Done!
Now you can access your email template manager accessig to
http://yourdomain/template_manager
You can change this route modifying /vendor/ezzing/email_template_manager/src/routes.php.
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-21