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