From 6a0f0cfc2629316c100e614b60f77c99d27e41ee Mon Sep 17 00:00:00 2001 From: fanguochao <544942125@qq.com> Date: Sat, 16 May 2020 15:20:08 +0800 Subject: [PATCH] =?UTF-8?q?'=E6=8F=90=E4=BA=A4=E6=B5=8B=E8=AF=95=E6=96=87?= =?UTF-8?q?=E4=BB=B6'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ .idea/.gitignore | 8 ++++++++ .idea/UploadLargeFiles.iml | 13 +++++++++++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/php.xml | 9 +++++++++ .idea/vcs.xml | 6 ++++++ composer.json | 20 ++++++++++++++++++++ demo.php | 5 +++++ src/UploadLargeFiles/Tools.php | 18 ++++++++++++++++++ 10 files changed, 95 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/UploadLargeFiles.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/vcs.xml create mode 100644 composer.json create mode 100644 demo.php create mode 100644 src/UploadLargeFiles/Tools.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..55940e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/vendor/ +composer.lock \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..73f69e0 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/UploadLargeFiles.iml b/.idea/UploadLargeFiles.iml new file mode 100644 index 0000000..cb33de6 --- /dev/null +++ b/.idea/UploadLargeFiles.iml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..1324e7d --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..95ec9a8 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..eb55623 --- /dev/null +++ b/composer.json @@ -0,0 +1,20 @@ +{ + "name": "fgc1101/upload-large-files", + "description": "PHP分段上传大文件", + "type": "project", + "license": "MIT", + "authors": [ + { + "name": "fanguochao", + "email": "544942125@qq.com" + } + ], + "require": { + "php": ">=7.0.0" + }, + "autoload": { + "psr-4": { + "UploadLargeFiles\\" : "src/" + } + } +} diff --git a/demo.php b/demo.php new file mode 100644 index 0000000..9a26c69 --- /dev/null +++ b/demo.php @@ -0,0 +1,5 @@ +Hello world"; + } + +} \ No newline at end of file