diff --git a/composer.json b/composer.json
index 05614be..2969a7f 100755
--- a/composer.json
+++ b/composer.json
@@ -40,7 +40,7 @@
"ext-json": "*",
"ext-pdo": "*",
"imagine/imagine": "^1.3",
- "intervention/image": "^2.7",
+ "intervention/image": "^3.1.0",
"ksubileau/color-thief-php": "^2.0",
"laravel/framework": "^10.4.1",
"php-ffmpeg/php-ffmpeg": "^1.1",
diff --git a/docs/README.md b/docs/README.md
index 21b8337..8148dc2 100755
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,6 +1,6 @@
# Introduction
-[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mostafaznv/larupload/run-tests.yml?branch=master\&label=Build\&style=flat-square\&logo=github)](https://github.com/mostafaznv/larupload/actions) [![Codecov branch](https://img.shields.io/codecov/c/github/mostafaznv/larupload/master.svg?style=flat-square\&logo=codecov)](https://app.codecov.io/gh/mostafaznv/larupload) [![Quality Score](https://img.shields.io/scrutinizer/g/mostafaznv/larupload.svg?style=flat-square)](https://scrutinizer-ci.com/g/mostafaznv/larupload) ![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square) [![Latest Version on Packagist](https://img.shields.io/packagist/v/mostafaznv/larupload.svg?style=flat-square)](https://packagist.org/packages/mostafaznv/larupload) [![Total Downloads](https://img.shields.io/packagist/dt/mostafaznv/larupload.svg?style=flat-square)](https://packagist.org/packages/mostafaznv/larupload)
+[](https://github.com/mostafaznv/larupload/actions) [](https://app.codecov.io/gh/mostafaznv/larupload) [](https://scrutinizer-ci.com/g/mostafaznv/larupload) [](https://packagist.org/packages/mostafaznv/larupload) [](https://packagist.org/packages/mostafaznv/larupload)
@@ -14,7 +14,11 @@ It offers many useful features, including the ability to resize, crop, and optim
Moreover, Larupload can calculate the dominant colors of videos and images, as well as extract their width, height, and duration for videos and audio files
-[![Donate](https://mostafaznv.github.io/donate/donate.svg)](getting-started/support-us.md)
+
+
+
+
+
diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md
index f885680..1c9956b 100644
--- a/docs/SUMMARY.md
+++ b/docs/SUMMARY.md
@@ -7,7 +7,6 @@
* [Laravel Nova integration](getting-started/laravel-nova-integration.md)
* [Support Us](getting-started/support-us.md)
* [License](getting-started/license.md)
-* [Laravel Nova Integration](getting-started/laravel-nova-integration-1.md)
## 🚀 Basic Usage
diff --git a/docs/advanced-usage/attachment/media-styles.md b/docs/advanced-usage/attachment/media-styles.md
index e08cdb6..4ffaf26 100644
--- a/docs/advanced-usage/attachment/media-styles.md
+++ b/docs/advanced-usage/attachment/media-styles.md
@@ -14,7 +14,7 @@ On the other hand, if you want to manipulate images or videos, you should use th
### Image Style
-
Index
Name
Type
Required
Default
Description
1
name
string
true
–
style name. examples: thumbnail, small, ...
2
width
?int
false
null
width of the manipulated image
3
height
?int
false
null
height of the manipulated image
4
mode
LaruploadMediaStyle
false
AUTO
this argument specifies how Larupload should manipulate the uploaded image and can take on any of the following values: FIT, AUTO, SCALE_WIDTH, SCALE_HEIGHT, CROP
+
Index
Name
Type
Required
Default
Description
1
name
string
true
–
style name. examples: thumbnail, small, ...
2
width
?int
false
null
width of the manipulated image
3
height
?int
false
null
height of the manipulated image
4
mode
LaruploadMediaStyle
false
AUTO
this argument specifies how Larupload should manipulate the uploaded image and can take on any of the following values: FIT, AUTO, SCALE_WIDTH, SCALE_HEIGHT, CROP
```php
Index
Name
Type
Required
Default
Description
1
name
string
true
–
style name. examples: thumbnail, small, ...
2
width
?int
false
null
width of the manipulated video
3
height
?int
false
null
height of the manipulated video
4
mode
LaruploadMediaStyle
false
SCALE_HEIGHT
this argument specifies how Larupload should manipulate the uploaded video and can take on any of the following values: FIT, AUTO, SCALE_WIDTH, SCALE_HEIGHT, CROP
5
format
X264
false
new X264
by default, the encoding format for video is X264. However, users can specify additional options for this format, including adjusting the kilobitrate for both audio and video. This allows for more precise configuration and optimization of the user's encoding preferences.
6
padding
bool
false
false
If set to true, padding will be applied to the video using a black color in order to fit the given dimensions.
+
Index
Name
Type
Required
Default
Description
1
name
string
true
–
style name. examples: thumbnail, small, ...
2
width
?int
false
null
width of the manipulated video
3
height
?int
false
null
height of the manipulated video
4
mode
LaruploadMediaStyle
false
SCALE_HEIGHT
this argument specifies how Larupload should manipulate the uploaded video and can take on any of the following values: FIT, AUTO, SCALE_WIDTH, SCALE_HEIGHT, CROP
5
format
X264
false
new X264
by default, the encoding format for video is X264. However, users can specify additional options for this format, including adjusting the kilobitrate for both audio and video. This allows for more precise configuration and optimization of the user's encoding preferences.
6
padding
bool
false
false
If set to true, padding will be applied to the video using a black color in order to fit the given dimensions.
```php
Index
Name
Type
Required
Default
Description
1
name
string
true
–
label for stream quality. highly recommended to use string labels like 720p
2
width
int
true
–
3
height
int
true
–
4
format
X264
true
–
by default, the encoding format for video is X264. However, users can specify additional options for this format, including adjusting the kilobitrate for both audio and video. This allows for more precise configuration and optimization of the user's encoding preferences.
5
padding
bool
false
false
If set to true, padding will be applied to the video using a black color in order to fit the given dimensions.
+
Index
Name
Type
Required
Default
Description
1
name
string
true
–
label for stream quality. highly recommended to use string labels like 720p
2
width
int
true
–
3
height
int
true
–
4
format
X264
true
–
by default, the encoding format for video is X264. However, users can specify additional options for this format, including adjusting the kilobitrate for both audio and video. This allows for more precise configuration and optimization of the user's encoding preferences.
5
padding
bool
false
false
If set to true, padding will be applied to the video using a black color in order to fit the given dimensions.