phalcana/email
最新稳定版本:v0.8.0
Composer 安装命令:
composer require phalcana/email
包简介
Swift mailer wrapper for Phalcana
关键字:
README 文档
README
Phalcana Email Module
Swift mailer wrapper for the Phalcana project.
Installation
This module can be installed via composer using the below command.
composer require phalcana/email
In order for the module to be loaded into Phalcana the module needs to be added into the modules config.
This can be found in the app/config/static.php or in the local version app/config/setup.php. For example.
'modules' => array( 'email' => MODPATH.'email/', 'userguide' => MODPATH.'userguide/', ),
Basic Usage
You can get a fresh instance of the email module by getting it from the dependency injector.
$email = $this->getDi()->get('email', array('My email subject')) ->to('email@example.com', 'My name') ->from('info@example.com', 'Website name') ->message('Message text here') ->send();
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-09-13