PHPackages                             hemarao/laravelcdn - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. hemarao/laravelcdn

ActiveLibrary[HTTP &amp; Networking](/categories/http)

hemarao/laravelcdn
==================

Content Delivery Network (CDN) Package for Laravel for Composer Version 2

02.9kPHP

Since Aug 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hemaraodugana/laravel-cdn)[ Packagist](https://packagist.org/packages/hemarao/laravelcdn)[ RSS](/packages/hemarao-laravelcdn/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravelCDN
==========

[](#laravelcdn)

Content Delivery Network (CDN) Package for Laravel for Composer Version 2

NOTE:- GUZZLEHTTP/GUZZLE PACKAGE SHOULD BE 6.3 OR HIGHER AND IF IT SHOWS ERROR ON INSTALLING THE PACKAGE THEN REMOVE GUZZLEHTTP/GUZZLE FROM COMPOSER.JSON FILE AND INSTALL/UPDATE COMPOSER THEN INSTALL THE HEMARAO/LARAVELCDN THEN INSTALL GUZZLEHTTP/GUZZLE IT WILL WORK

Laravel8 CDN Assets Manager

##### Content Delivery Network Package for Laravel8

[](#content-delivery-network-package-for-laravel8)

The package provides the developer the ability to upload their assets (or any public file) to a CDN with a single artisan command. And then it allows them to switch between the local and the online version of the files.

###### Fork From [vipertecpro/laravelcdn6](https://github.com/vipertecpro/laravelcdn6)

[](#fork-from-vipertecprolaravelcdn6)

This project has been forked from . All credit for the original work goes there.

#### Laravel 7/8 Support

[](#laravel-78-support)

- Laravel 7/8 is supported, as is package auto-discovery.

Highlights
----------

[](#highlights)

- Amazon Web Services (AWS) - S3
- DigitalOcean (DO) - Spaces
- Artisan command to upload content to CDN
- Simple Facade to access CDN assets

Installation
------------

[](#installation)

#### Via Composer

[](#via-composer)

Require `Hemarao/laravel-cdn` in your project:

```
composer require hemarao/laravelcdn
```

*If you are using Laravel 5.4 or below, you need to register the service provider:*

Laravel 5.4 and below: Add the service provider and facade to `config/app.php`:

```
'providers' => array(
     //...
     Hemarao\Laravelcdn\Hemarao\laravelcdnv2\CdnServiceProvider::class,
),
```

```
'aliases' => array(
     //...
     'CDN' => Hemarao\Laravelcdn\Hemarao\laravelcdnv2\Facades\CdnFacadeAccessor::class
),
```

*If you are using Laravel 5.5, there is no need to register the service provider as this package is automatically discovered.*

Publish the package config file:

```
php artisan vendor:publish --provider 'Hemarao\Laravelcdn\Hemarao\laravelcdnv2\CdnServiceProvider'
```

Environment Configuration
-------------------------

[](#environment-configuration)

This package can be configured by editing the config/app.php file. Alternatively, you can set many of these options in as environment variables in your '.env' file.

Security Related Issues
-----------------------

[](#security-related-issues)

If you discover any security related issues, please email  instead of using the issue tracker for faster response. You should open an issue at the same time.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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/dbc41274852a7ed3deb3c2cea2995d8d5ada7a1118b7c18c2af6992ed1e61adf?d=identicon)[hemaraodugana](/maintainers/hemaraodugana)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hemarao-laravelcdn/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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