PHPackages                             huydevct/media-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. huydevct/media-storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

huydevct/media-storage
======================

media storage package

1.1.6(2y ago)111PHPPHP ^7.3|^8.0

Since Feb 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/huydevct/media-storage)[ Packagist](https://packagist.org/packages/huydevct/media-storage)[ RSS](/packages/huydevct-media-storage/feed)WikiDiscussions main Synced yesterday

READMEChangelog (9)Dependencies (4)Versions (10)Used By (0)

### Config App

[](#config-app)

- add this line to service provider config/app.php

```
\Huy\MediaStorage\providers\MediaStorageServiceProvider::class,
```

- run this command to publish config

```
php artisan vendor:publish --tag=media_storage
# Vị trí file config  config/media_storage.php
```

- add these lines to .env

```
IMAGE_MEDIUM=
IMAGE_SMALL=
IMAGE_EXTRA_SMALL=
VIDEO_MEDIUM=
VIDEO_SMALL=
```

- route of these api

```
http://localhost:8000/storage/images
http://localhost:8000/storage/videos

```

- you can replace your domain on `http://localhost:8000`
- request accept form-data with key `file` or `files`
- this is a example of these apis' postman

```
curl --location 'http://localhost:8000/storage/images' \
--header 'Accept: application/json' \
--form 'file=@"your-file"'

```

- if you got nothing after call these apis, you need to remember add header `Accept: application/json`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

9

Last Release

851d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64426508?v=4)[HuyCT](/maintainers/huydevct)[@huydevct](https://github.com/huydevct)

### Embed Badge

![Health badge](/badges/huydevct-media-storage/health.svg)

```
[![Health](https://phpackages.com/badges/huydevct-media-storage/health.svg)](https://phpackages.com/packages/huydevct-media-storage)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
