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 yesterday

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

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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