openwebpresence / owp-framework
openWebPresence 框架。
1.5.9
2018-04-19 05:48 UTC
Requires
- php: >=5.6.0
- ext-curl: *
- ext-imap: *
- ext-intl: *
- ext-mcrypt: *
- ext-mysql: *
- ext-openssl: *
- egulias/email-validator: ^2.1
- guzzlehttp/guzzle: ~6.0
- hautelook/phpass: ^1.1
- php-console/php-console: ^3.1
- phpmailer/phpmailer: ^5.2
- squeaky-minds/squeaky-minds-php-helper: ^1.3.0
- vlucas/phpdotenv: ^2.4
Requires (Dev)
- guzzlehttp/guzzle: ~6.0
- pdepend/pdepend: 2.5.0
- phing/phing: 2.*
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: 2.*
- dev-master
- 1.5.9
- 1.5.8
- 1.5.7
- v1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.13
- 1.3.12
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.2.58
- 1.2.57
- 1.2.56
- 1.2.55
- 1.2.54
- 1.2.53
- 1.2.52
- 1.2.51
- 1.2.50
- 1.2.49
- 1.2.48
- 1.2.47
- 1.2.46
- 1.2.45
- 1.2.44
- 1.2.43
- 1.2.42
- 1.2.41
- 1.2.40
- 1.2.39
- 1.2.38
- 1.2.37
- 1.2.36
- 1.2.35
- 1.2.34
- 1.2.33
- 1.2.32
- 1.2.31
- 1.2.30
- 1.2.29
- 1.2.28
- 1.2.27
- 1.2.26
- 1.2.25
- 1.2.24
- 1.2.23
- 1.2.22
- 1.2.21
- 1.2.20
- 1.2.19
- 1.2.18
- 1.2.17
- 1.2.16
- 1.2.15
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.32
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-09-05 12:02:44 UTC
README
[] (http://openwebpresence.com/ "Open Web Presence")
Open Web Presence 框架支持库
此框架目前正在积极开发中(2017年2月)并将在2.0版本完成并正式发布之前经历许多变化。
访问 Open Web Presence 获取更多信息。
类文档可以在生成的 phpDoc 中找到。
特性
- OpenWebPresence 的操作框架。
- 通过 FirePHPCode 提供MySQL调试支持。
- 通过 phpMailer 发送电子邮件。
- OpenWebPresence 的操作框架。
- 为 OpenWebPresence 框架提供 _get/_set 数据方法。
- 为 OpenWebPresence 框架提供其他支持方法。
用户类钩子
- owpUDF_On_addUserValiateData(object db, object firephp, array user_data)
- owpUDF_On_addUserSuccess(int userID, object db, object firephp);
- owpUDF_On_deleteUser(int userID, object db, object firephp);
- owpUDF_On_logOut(int userID, object db, object firephp);
- owpUDF_On_setStatusID(int userID, object db, object firephp);
- owpUDF_On_updatePassword(int userID, object db, object firephp);
- owpUDF_On_updateUser(int userID, object db, object firephp);
- owpUDF_On_userLoginCore(int userID, object db, object firephp);
消息类钩子
- owpUDF_On_sendEmailDirect(int userID, object db, object firephp);
- owpUDF_On_sendEmailViaSMTP(int userID, object db, object firephp);
异常代码
上述所有方法在返回除了 false 以外的任何内容时,将抛出一个异常,异常消息为返回的内容。(字符串)。
- 10 - owpUser 方法异常
- 20 - InvalidArgumentException
- 30 - 用户类钩子异常
要求
"require": {
"php": ">=5.6.0",
"ext-imap": "*",
"vlucas/phpdotenv": "^2.4",
"guzzlehttp/guzzle": "~6.0",
"firephp/firephp-core": "^0.4.0",
"openwebpresence/owp-users": "^1.2",
"jv2222/ezsql": "dev-master",
"phpmailer/phpmailer": "^5.2",
"squeaky-minds/squeaky-minds-php-helper": "^1.1.1",
"hautelook/phpass": "^1.1"
}
通过 Composer 安装
"require": {
"openwebpresence/owp-framework": "~1.0"
}
或
$ composer require openwebpresence/owp-framework