PHPackages                             suzunone/cdn-proxy - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. suzunone/cdn-proxy

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

suzunone/cdn-proxy
==================

手軽にCDNを実現する

v0.1.0(8y ago)010MITPHP

Since Apr 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/suzunone/cdn)[ Packagist](https://packagist.org/packages/suzunone/cdn-proxy)[ RSS](/packages/suzunone-cdn-proxy/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Suzunone CDN PROXY
==================

[](#suzunone-cdn-proxy)

[![CircleCI](https://camo.githubusercontent.com/1a1ad1d0357fadbcd9af70cf134d8185a22bb588cde5fe2fc02583a075f13b31/68747470733a2f2f636972636c6563692e636f6d2f67682f73757a756e6f6e652f63646e2f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/suzunone/cdn/tree/master)

はじめに
----

[](#はじめに)

本パッケージは、以下のような環境でもCDNを手軽に導入できることを目的に作成されました。

- 使用しようとしているCDNサービスが、nsレコードによる、サブドメインのDNSサーバー移管に対応していない
- OriginサーバーのネームサーバーをCDNサービスに移管できない。あるいは、移管することに抵抗がある
- 同一URLだが、ユーザーごとに違うコンテンツを返す機能があるなど、全てのコンテンツがCDNサービス経由で配信されると問題が発生する
- 何らかの理由で、CDNで使用するドメインと、Originで使用するドメインを分けたいが、異なるドメインで、同一のドキュメントルートを参照するなどの方法が取れない
- 何らかの理由で、httpサーバーの設定のみでproxyすることができない

本パッケージを使用することで、 Amazon CloudFrontで、`XXXX.cloudfront.net`経由のコンテンツ配信を行うのと同等の機能を、 ネームサーバー移管型のCDNサービスでも提供します。

インストール手順
--------

[](#インストール手順)

### Composer

[](#composer)

composer require suzunone/cdn-proxy

事前準備
----

[](#事前準備)

パッケージを利用する前に、以下のような下準備が必要となります。

1. CDNサービスに移管するドメインを用意する
    - サブドメインでの移管が認められているなら、nsレコードを追加
    - サブドメインでの移管が認められていないなら、新しくドメインを取得
2. 本パッケージを配置するサーバーにaレコードを向ける

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2944d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/630015fa1a1a301f4fdebfc315ac1e2b6ad90ae681972e0d067c6887a7ed292d?d=identicon)[suzunone](/maintainers/suzunone)

---

Top Contributors

[![suzunone](https://avatars.githubusercontent.com/u/7632752?v=4)](https://github.com/suzunone "suzunone (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/suzunone-cdn-proxy/health.svg)

```
[![Health](https://phpackages.com/badges/suzunone-cdn-proxy/health.svg)](https://phpackages.com/packages/suzunone-cdn-proxy)
```

###  Alternatives

[roundcube/carddav

CardDAV adapter for connecting to CardDAV-enabled addressbooks

28155.3k](/packages/roundcube-carddav)[fale/isbn

ISBN library

88524.8k6](/packages/fale-isbn)[izniburak/laravel-auto-routes

Auto Route Generating (Auto-Discovery) Package for Laravel

23645.3k](/packages/izniburak-laravel-auto-routes)[nystudio107/craft-typogrify

Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more

70381.7k18](/packages/nystudio107-craft-typogrify)[efureev/laravel-trees

Multi-Tree structures for Laravel

14253.3k4](/packages/efureev-laravel-trees)[tuupola/base32

Base32 encoder and decoder for arbitrary data

14552.2k6](/packages/tuupola-base32)

PHPackages © 2026

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