Skip to content

Commit ddd29fa

Browse files
committed
Add new version 3.0
1 parent 6d9f7a4 commit ddd29fa

39 files changed

+2142
-3317
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Thumbs.db
55
/vendor
66
/tests/tmp
77
/tests/data/files/tmp
8-
/build-docs
8+
/build-api

README.md

+9-23
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,23 @@
77

88
## Features
99

10-
- AJAX upload
11-
- Support multiple file uploads
12-
- Validations of file
13-
- Presets for files
10+
- Use [flysystem](https://flysystem.thephpleague.com/)
11+
- Multiple file uploads
12+
- Presets (resize, crop) for files
1413
- Create thumbnails on the fly or after upload
15-
- Check the owner of a file
16-
- Storing information about a file in the database
17-
- Ability to use any component for working with files (resize, crop, etc)
18-
- Ability to change the way of storing files
19-
20-
## Introduction
21-
22-
The basic idea is that each file has an owner (model).
23-
After saving the model is verified that the file (or files) have link to the current model.
14+
- The ability to specify extra fields for files
15+
- The ability to use any library for manipulating files (resize, crop, etc)
2416

2517
## Installation
2618

27-
1. Installing using Composer
28-
```
29-
composer require rkit/filemanager-yii2
30-
```
31-
32-
2. Run migrations
33-
```
34-
php yii migrate --migrationPath=@vendor/rkit/filemanager-yii2/src/migrations/ --interactive=0
35-
```
19+
```
20+
composer require rkit/filemanager-yii2
21+
```
3622

3723
## Documentation
3824

3925
- [Guide](/guide)
40-
- [API Reference](/docs)
26+
- [API Reference](/api)
4127

4228
## Development
4329

0 commit comments

Comments
 (0)