Skip to content

Commit c41c092

Browse files
authored
Update README.md
1 parent 22d6d3f commit c41c092

File tree

1 file changed

+34
-6
lines changed

1 file changed

+34
-6
lines changed

README.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,52 @@
1-
# Multi files upload & image resizer
1+
# Multi files uploader & image resizer
22

33
A PHP base class that you can use to upload any file into the server. It is a very lightweight class and highly customizable. You can use this class with any framework or with core PHP.
44

5+
## Dependencies:
6+
7+
This class is based on the GD library for image processing. If you don’t have this library install it or enable it in php.ini. To install the GD library use the below command.
8+
9+
```
10+
sudo apt-get install php-gd
11+
```
12+
13+
After installation makes sure you have a gd.ini file then open the php.ini file and find it below.
14+
15+
```
16+
;extension=gd
17+
```
18+
19+
Remove the comment [ **;** ] and change it to below.
20+
21+
```
22+
extension=gd
23+
```
24+
525
----
626

727
## Composer installation:
828

9-
```composer
29+
```
1030
composer require learncodeweb/filesupload
1131
```
1232

33+
After installation recreates the autoload file with the help of the below command.
34+
35+
```
36+
composer dump-autoload
37+
```
38+
1339
----
1440

15-
A PHP base class that you can use to upload any file into the server. It is a very lightweight class and heighly customizable. You can use this class with any framewrok or with core PHP.
41+
## Class option & features:
42+
43+
A PHP base class that you can use to upload any file into the server. It is a very lightweight class and highly customizable. You can use this class with any framework or with core PHP.
1644

1745
1) Upload Single Or Multiple Files.
1846
2) Upload Any Type Of Files (Not Only Images).
19-
3) Image file can Resize.
20-
4) Create Image Thumbnail (With Keep The Image Aspect Ratio).
21-
5) You can add watermark (Text, Image).
47+
3) The image file can Resize.
48+
4) Create Image Thumbnails (With Keep The Image Aspect Ratio).
49+
5) You can add a watermark (Text, Image).
2250
6) Easy Integration With Forms.
2351
7) Create Any Number Of Thumbnails Under One Upload.
2452
8) Customizable Paths To Thumbnails Folders.

0 commit comments

Comments
 (0)