PHPackages                             sudomabider/laravel-asset-manager - 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. sudomabider/laravel-asset-manager

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

sudomabider/laravel-asset-manager
=================================

Allows for assets like js and css to be easily managed and called in Laravel

0.1.5(9y ago)14142MITPHPPHP &gt;=5.4

Since Sep 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sudomabider/laravel-asset-manager)[ Packagist](https://packagist.org/packages/sudomabider/laravel-asset-manager)[ RSS](/packages/sudomabider-laravel-asset-manager/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

\#Simple Asset Manager for Laravel

[![Build Status](https://camo.githubusercontent.com/e1cf60b930894dcfc1c3609ac9b39f97b892914ac1f6ee7bf67f67989da6404f/68747470733a2f2f7472617669732d63692e6f72672f7472617669732d63692f7472617669732d7765622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/travis-ci/travis-web)[![StyleCI](https://camo.githubusercontent.com/cd2d6b9accca7ad83aca937b573b9c2d82e75c16d1ab8b228e4781202f0961de/68747470733a2f2f7374796c6563692e696f2f7265706f732f36373439303731312f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/67490711)

### Installation

[](#installation)

1. Run `composer require sudomabider/laravel-asset-manager`
2. Add `Sudomabider\AssetManager\AssetManagerServiceProvider::class` to app config `providers` array
3. Run `php artisan vendor:publish --provider="Sudomabider\AssetManager\AssetManagerServiceProvider" --tag="config"`

### Configuration

[](#configuration)

All the assets are defined as key-value pairs in the `assets` array. The key would then be used in the view files to include the resources, *e.g.* `@css('animate')`.

The value part allows for 3 types of formats.

- simple resource url:

```
'css' => 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css'

```

- arrays of resource urls

```
'js' => [
    'https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/jquery.dataTables.min.js',
    'https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/dataTables.bootstrap.min.js'
]

```

- js also accepts an array of options. *Note* in this case the whole js asset must be wrapped in an array

```
'js' => [
    ['https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js', ['data-pace-options' => '{ "ajax": false }']]
]

```

which outputs

```

```

This can be used together with the 2nd format

### Example usage

[](#example-usage)

***config/asset-manager.php***

```
'assets' => [
    'animate' => [
            'css' => 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css'
    ],
    'tagsinput' => [
        'css' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-tagsinput/0.8.0/bootstrap-tagsinput.css',
        'js' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-tagsinput/0.8.0/bootstrap-tagsinput.min.js'
    ],
    'datatables' => [
        'css' => 'https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/css/dataTables.bootstrap.min.css',
        'js' => [
            'https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/jquery.dataTables.min.js',
            'https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/dataTables.bootstrap.min.js'
        ]
    ],
    ...
]

```

***view.blade.php***

```
@css('animate', 'tagsinput', 'datatables')

@js('tagsinput', 'datatables')

```

This will create asset inclusions in your html with the corresponding urls.

You can also call urls directly

```
@css('https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css')

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community5

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 ~36 days

Total

5

Last Release

3440d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4270905?v=4)[Veo Chen](/maintainers/sudomabider)[@sudomabider](https://github.com/sudomabider)

---

Tags

assetslaravellaravelcssJSassets

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sudomabider-laravel-asset-manager/health.svg)

```
[![Health](https://phpackages.com/badges/sudomabider-laravel-asset-manager/health.svg)](https://phpackages.com/packages/sudomabider-laravel-asset-manager)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[stolz/assets

An ultra-simple-to-use assets management library

296531.9k8](/packages/stolz-assets)[webwizo/laravel-shortcodes

Wordpress like shortcodes for Laravel 11, 12 and 13

217700.9k8](/packages/webwizo-laravel-shortcodes)[tarunkorat/laravel-asset-cleaner

Safely detect and remove unused CSS, JS, SCSS and other assets from Laravel applications

735.0k1](/packages/tarunkorat-laravel-asset-cleaner)[fisharebest/laravel-assets

Asset management for Laravel

208.1k](/packages/fisharebest-laravel-assets)

PHPackages © 2026

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