leon0204 / superget
Just for get everthing.
Installs: 161
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/leon0204/superget
Requires
- php: >=5.5.0
This package is not auto-updated.
Last update: 2025-10-23 09:11:01 UTC
README
For get everthing.
Via Composer
-
bash
-
composerrequireleon0204/supergetdev-master (推荐) -
php
-
$superget = new SuperGet\SuperGet;
更新日志
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[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
emailsend -email@leon0204 -
composerrequirephpmailer/phpmailerdev-master -
使用案例
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);