PHPackages                             neji0924/image - 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. neji0924/image

ActiveLibrary

neji0924/image
==============

069PHP

Since Jul 22Pushed 8y agoCompare

[ Source](https://github.com/neji0924/laravel-image)[ Packagist](https://packagist.org/packages/neji0924/image)[ RSS](/packages/neji0924-image/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

image模組
-------

[](#image模組)

---

### 上傳

[](#上傳)

```
Image::upload($檔案, $對像?, $其他?)

```

---

### 熊貓縮圖功能

[](#熊貓縮圖功能)

#### 使用

[](#使用)

1. 請至  申請，取得 API Key
2. 在 .env 加上 TINYPNG\_KEY={API Key} 即可
3. 開發可用: TINYPNG\_KEY=b4jYsFptDKC1vRpSur0n6bei9RskV0I1

#### 存放位置

[](#存放位置)

1. 原圖：./storage/app/images/origin/
2. 壓縮圖：./storage/app/images/
3. 小圖： ./storage/app/images/thumbnail/

#### 讀取

[](#讀取)

讀取圖片時，可在路由後面加入參數，選擇要讀取哪種圖片。預設讀取壓縮過的圖，如果找不到圖片會自動讀取 origin 內的原圖

1. 壓縮：
2. 原圖：
3. 小圖：

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba5634ad6879886e5c875b7c41bf89117aa557619e2fa2c181b3327f0307ff1f?d=identicon)[neji0924](/maintainers/neji0924)

---

Top Contributors

[![neji0924](https://avatars.githubusercontent.com/u/25678334?v=4)](https://github.com/neji0924 "neji0924 (5 commits)")

### Embed Badge

![Health badge](/badges/neji0924-image/health.svg)

```
[![Health](https://phpackages.com/badges/neji0924-image/health.svg)](https://phpackages.com/packages/neji0924-image)
```

PHPackages © 2026

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