Skip to content

Commit

Permalink
'提交测试文件'
Browse files Browse the repository at this point in the history
  • Loading branch information
fgc1101 committed May 16, 2020
1 parent fdc25d9 commit 6a0f0cf
Show file tree
Hide file tree
Showing 10 changed files with 95 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/
composer.lock
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/UploadLargeFiles.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "fgc1101/upload-large-files",
"description": "PHP分段上传大文件",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "fanguochao",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.0.0"
},
"autoload": {
"psr-4": {
"UploadLargeFiles\\" : "src/"
}
}
}
5 changes: 5 additions & 0 deletions demo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
require_once './vendor/autoload.php';
use UploadLargeFiles\UploadLargeFiles\Tools;

Tools::hello();
18 changes: 18 additions & 0 deletions src/UploadLargeFiles/Tools.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php


namespace UploadLargeFiles\UploadLargeFiles;


class Tools
{
public function __construct()
{

}

public static function hello(){
echo "<h1>Hello world</h1>";
}

}

0 comments on commit 6a0f0cf

Please sign in to comment.