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 1mo ago

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 27% 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

804d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d11ab3ddc1bc45efdd80a0d5760170c8491ca7635ff3a8755f2cc05e8b247b4?d=identicon)[huydevct](/maintainers/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

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[inovector/mixpost

Self-hosted social media management software.

3.0k5.2k2](/packages/inovector-mixpost)[reshadman/file-secretary

Get rid of anything related to files in Laravel, This package handles all for you. Anything we mean.

1131.8k](/packages/reshadman-file-secretary)[eveseat/web

SeAT Web Interface

2723.2k135](/packages/eveseat-web)

PHPackages © 2026

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