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

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

ajulcab/laravel-asset-manager
=============================

Gestionar los assets dentro de laravel

1.1.0(4y ago)05MITPHPPHP ^7.3|^8.0

Since Sep 6Pushed 4y agoCompare

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

READMEChangelog (3)Dependencies (2)Versions (10)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)

Support Laravel 8.

### Installation

[](#installation)

1. Run `composer require ajulcab/laravel-asset-manager`
2. Add `Ajulcab\AssetManager\AssetManagerServiceProvider::class` to app config `providers` array
3. Run `php artisan vendor:publish --provider="Ajulcab\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

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity74

Established project with proven stability

 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

Every ~266 days

Recently: every ~434 days

Total

8

Last Release

1724d ago

Major Versions

0.1.5 → 1.0.02021-10-12

PHP version history (2 changes)0.1PHP &gt;=5.4

1.0.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/141e80f177dba21402ef29ae2f567937553f40cddf862b6e3f04f85cb6fa686e?d=identicon)[ajulcab](/maintainers/ajulcab)

---

Top Contributors

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

---

Tags

laravelcssJSassetsajulcab

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[stolz/assets

An ultra-simple-to-use assets management library

289531.9k8](/packages/stolz-assets)[tarunkorat/laravel-asset-cleaner

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

746.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)
