cocorico/swift-reader-bundle
Composer 安装命令:
composer require cocorico/swift-reader-bundle
包简介
CocoricoSwiftReaderBundle is a free symfony bundle to read emails sent by Swift Mailer.
README 文档
README
CocoricoSwiftReaderBundle is a free Symfony bundle to read emails sent by Swift Mailer from the Symfony Web Debug Toolbar.
Installation
Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ php composer.phar require --dev cocorico/swift-reader-bundle
Enable the Bundle
Then, enable the bundle by adding the following line in the app/config/AppKernel.php file of your project:
... if (in_array($this->getEnvironment(), array('dev', 'test'), true)) { ... $bundles[] = new Cocorico\SwiftReaderBundle\CocoricoSwiftReaderBundle(); } ...
Update the routing
Add the main route by adding the following lines in the app/config/routing_dev.yml file of your project:
... _cocorico_swift_reader: resource: "@CocoricoSwiftReaderBundle/Resources/config/routing.yml" prefix: /_cocorico_swift_reader
Configuration
It is possible to modify the path where the emails are stored by adding the following lines in the app/config/config_dev.yml file of your project:
... cocorico_swift_reader: path: "your/path/here"
Usage
One you have installed the bundle, you can read emails by clicking on the link Swift Reader in the profiler toolbar.
License
This bundle is under the MIT license. See the complete license in the bundle.
About Us
This bundle is sponsored by Cocolabs creator of Cocorico an open source marketplace solution for services and rentals.
统计信息
- 总下载量: 409
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-28