2017 © Pedro Peláez
 

yii2-extension yii2-archi

mail parser

image

archiflash/yii2-archi

mail parser

  • Sunday, September 3, 2017
  • by archiflash
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

"# yii2-archi", (*1)

тестовое расширение

mail parser, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist archiflash/yii2-archi "*"

or add, (*5)

"archiflash/yii2-archi": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)



use archiflash\archi\MailParser; $db_credentials = []; $db_credentials["dsn"] = 'mysql:dbname=project;host=localhost'; $db_credentials["username"] = 'username'; $db_credentials["password"] = 'password'; $mail_credentials = []; $mail_credentials["imapPath"] = '{imap.yandex.ru:993/ssl/novalidate-cert/readonly}'; $mail_credentials["username"] = 'username'; $mail_credentials["password"] = 'password'; $parser = new MailParser($db_credentials, $mail_credentials); $result = $parser->parse(); // returns string

The Versions

03/09 2017

dev-master

9999999-dev

mail parser

  Sources   Download

MIT

The Requires

 

by Arkadii Khramov

extension yii2