Skip to content

Commit ea18f11

Browse files
author
Fredrick Peter
committed
readme update
1 parent 6b6b4ae commit ea18f11

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
* [Unlink](#unlink)
2424
* [Usage](#usage)
2525
* [INPUT HTML STRUCTURE](#input-html-structure)
26-
* [Driver](#driver)
2726
* [Name](#name)
27+
* [Driver](#driver)
2828
* [BaseDir](#baseDir)
2929
* [Generate](#generate)
3030
* [Folder](#folder)
@@ -69,7 +69,7 @@ composer require tamedevelopers/file
6969
```
7070
require_once __DIR__ . '/vendor/autoload.php';
7171
72-
use \Tamedevelopers\File\File;
72+
use Tamedevelopers\File\File;
7373
7474
$file = new File();
7575
```
@@ -264,6 +264,15 @@ $upload->get('name);
264264
<input type="file" name="avatar[]" multiple>
265265
```
266266

267+
### Name
268+
- Takes one param `string` as input name
269+
- Static method by default
270+
271+
```
272+
File::name('html_input_name');
273+
```
274+
275+
267276
### Driver
268277
- More drivers are to be added in the future
269278
- By default driver is set to `local`
@@ -294,14 +303,6 @@ File::name('avatar')
294303
->driver('s3');
295304
```
296305

297-
### Name
298-
- Takes one param `string` as input name
299-
- Static method by default
300-
301-
```
302-
File::name('html_input_name');
303-
```
304-
305306
### BaseDir
306307
- Takes one param `string` as base directory name
307308
- This will override the global configuration settings (Domain and Server Path will be set)

0 commit comments

Comments
 (0)