-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/vendor/ | ||
composer.lock |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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/" | ||
} | ||
} | ||
} |
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(); |
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>"; | ||
} | ||
|
||
} |