Skip to content

Commit 51b9df9

Browse files
committed
AMP Version Change.
0 parents  commit 51b9df9

File tree

59 files changed

+5175
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+5175
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
composer.phar
2+
/vendor/
3+
4+
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
5+
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6+
composer.lock
7+
8+
.vscode/
9+
.idea
10+
.DS_Store
11+
12+
cache/
13+
*.cache
14+
runtime/
15+
.php_cs.cache

.php_cs.dist

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?php
2+
/*
3+
* This document has been generated with
4+
* https://mlocati.github.io/php-cs-fixer-configurator/#version:2.15|configurator
5+
* you can change this configuration by importing this file.
6+
*/
7+
8+
return PhpCsFixer\Config::create()
9+
->setRiskyAllowed(true)
10+
->setIndent(' ')
11+
->setRules([
12+
'@PSR2' => true,
13+
'@PhpCsFixer' => true,
14+
'@Symfony:risky' => true,
15+
'concat_space' => ['spacing' => 'one'],
16+
'array_syntax' => ['syntax' => 'short'],
17+
'array_indentation' => true,
18+
'combine_consecutive_unsets' => true,
19+
'method_separation' => true,
20+
'single_quote' => true,
21+
'declare_equal_normalize' => true,
22+
'function_typehint_space' => true,
23+
'hash_to_slash_comment' => true,
24+
'include' => true,
25+
'lowercase_cast' => true,
26+
'no_multiline_whitespace_before_semicolons' => true,
27+
'no_leading_import_slash' => true,
28+
'no_multiline_whitespace_around_double_arrow' => true,
29+
'no_spaces_around_offset' => true,
30+
'no_unneeded_control_parentheses' => true,
31+
'no_unused_imports' => true,
32+
'no_whitespace_before_comma_in_array' => true,
33+
'no_whitespace_in_blank_line' => true,
34+
'object_operator_without_whitespace' => true,
35+
'single_blank_line_before_namespace' => true,
36+
'single_class_element_per_statement' => true,
37+
'space_after_semicolon' => true,
38+
'standardize_not_equals' => true,
39+
'ternary_operator_spaces' => true,
40+
'trailing_comma_in_multiline_array' => true,
41+
'trim_array_spaces' => true,
42+
'unary_operator_spaces' => true,
43+
'whitespace_after_comma_in_array' => true,
44+
'no_extra_consecutive_blank_lines' => [
45+
'curly_brace_block',
46+
'extra',
47+
'parenthesis_brace_block',
48+
'square_brace_block',
49+
'throw',
50+
'use',
51+
],
52+
'binary_operator_spaces' => [
53+
'align_double_arrow' => true,
54+
'align_equals' => true,
55+
],
56+
'braces' => [
57+
'allow_single_line_closure' => true,
58+
],
59+
])
60+
->setFinder(
61+
PhpCsFixer\Finder::create()
62+
->exclude('vendor')
63+
->exclude('tests')
64+
->in(__DIR__)
65+
);

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2020-12-29 Version: 1.0.0
2+
- AMP Version Change.
3+

README-CN.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[English](README.md) | 简体中文
2+
3+
![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
4+
5+
# Alibaba Cloud Dysmsapi SDK for PHP
6+
7+
## 安装
8+
9+
### Composer
10+
11+
```bash
12+
composer require alibabacloud/dysmsapi-20170525
13+
```
14+
15+
## 问题
16+
17+
[提交 Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new),不符合指南的问题可能会立即关闭。
18+
19+
## 使用说明
20+
21+
[快速使用](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-CN.md#%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8)
22+
23+
## 发行说明
24+
25+
每个版本的详细更改记录在[发行说明](./ChangeLog.txt)中。
26+
27+
## 相关
28+
29+
* [最新源码](https://github.com/aliyun/alibabacloud-php-sdk/)
30+
31+
## 许可证
32+
33+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
34+
35+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
English | [简体中文](README-CN.md)
2+
3+
![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
4+
5+
# Alibaba Cloud Dysmsapi SDK for PHP
6+
7+
## Installation
8+
9+
### Composer
10+
11+
```bash
12+
composer require alibabacloud/dysmsapi-20170525
13+
```
14+
15+
## Issues
16+
17+
[Opening an Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
18+
19+
## Usage
20+
21+
[Quick Examples](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-EN.md#quick-examples)
22+
23+
## Changelog
24+
25+
Detailed changes for each release are documented in the [release notes](./ChangeLog.txt).
26+
27+
## References
28+
29+
* [Latest Release](https://github.com/aliyun/alibabacloud-php-sdk/)
30+
31+
## License
32+
33+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
34+
35+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

autoload.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
if (file_exists(__DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php')) {
4+
require_once __DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
5+
}
6+
7+
spl_autoload_register(function ($class) {
8+
$name = str_replace('AlibabaCloud\\SDK\\Dysmsapi\\V20170525\\', '', $class);
9+
$file = __DIR__ . \DIRECTORY_SEPARATOR . 'src' . \DIRECTORY_SEPARATOR . str_replace('\\', \DIRECTORY_SEPARATOR, $name) . '.php';
10+
if (file_exists($file)) {
11+
require_once $file;
12+
13+
return true;
14+
}
15+
16+
return false;
17+
});

composer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "alibabacloud/dysmsapi-20170525",
3+
"description": "Alibaba Cloud Dysmsapi (20170525) SDK Library for PHP",
4+
"type": "library",
5+
"license": "Apache-2.0",
6+
"authors": [
7+
{
8+
"name": "Alibaba Cloud SDK",
9+
"email": "sdk-team@alibabacloud.com"
10+
}
11+
],
12+
"require": {
13+
"php": ">5.5",
14+
"alibabacloud/tea-utils": "^0.2.0",
15+
"alibabacloud/darabonba-openapi": "^0.1.0",
16+
"alibabacloud/endpoint-util": "^0.1.0"
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"AlibabaCloud\\SDK\\Dysmsapi\\V20170525\\": "src"
21+
}
22+
},
23+
"scripts": {
24+
"fixer": "php-cs-fixer fix ./"
25+
},
26+
"config": {
27+
"sort-packages": true,
28+
"preferred-install": "dist",
29+
"optimize-autoloader": true
30+
},
31+
"prefer-stable": true
32+
}

0 commit comments

Comments
 (0)