2017 © Pedro Peláez
 

library superget

Just for get everthing.

image

leon0204/superget

Just for get everthing.

  • Tuesday, November 7, 2017
  • by leon0204
  • Repository
  • 0 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Superget 轻量级工具

For get everthing.

icon, (*1)

Via Composer

  • bash
  • composer require leon0204/superget dev-master (推荐), (*2)

  • php, (*3)

  • $superget = new SuperGet\SuperGet;

更新日志

All notable changes to this project will be documented in this file., (*4)

The format is based on Keep a Changelog and this project adheres to Semantic Versioning., (*5)

[0.1.0] - 2017-1-16

添加基础配置

  • INIT add base config@leon0204.
  • Model add base model.etc,Catch,Img,Article.@leon0204.

[0.1.1] - 2017-1-17

添加快照

  • ADD curl -snapshot @leon0204

[0.1.2] - 2017-1-29

添加邮件发送

  • ADD email send - email @leon0204, (*6)

  • composer require phpmailer/phpmailer dev-master, (*7)

  • 使用案例
use `SuperGet\Utils`  as `Utils`;

//必填参数
$params['username'] = '邮箱号';
$params['password'] = '设置SMTP服务密码,注意不是邮箱密码';
$params['port'] = 25;  //设置端口号
$params['host'] = 'smtp.qq.com';  //邮件服务器

$params['subject'] = '邮件标题';
$params['text'] = '邮件正文';//可以设置成带css的html内容

$params['sendTo'] = '收件邮箱';
$params['sendNick'] = '发件人昵称';
$params['sendToNick'] = '收件人昵称';



//选填参数
$params['filePath'] = '';//附件路径
$params['fileName'] = '';//附件名称
$params['picPath'] = '';//图片路径
$params['picName'] = '';//图片名称


$send  =  Utils\SendEmail::send($params);

The Versions

07/11 2017

dev-master

9999999-dev

Just for get everthing.

  Sources   Download

The Requires

  • php >=5.5.0

 

by Avatar leon0204