PHPackages                             arcanedev/laravel-assets - 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. arcanedev/laravel-assets

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

arcanedev/laravel-assets
========================

This package allows you to manage multiple assets

5.7.1(7y ago)118MITPHPPHP &gt;=7.1.3

Since Nov 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ARCANEDEV/LaravelAssets)[ Packagist](https://packagist.org/packages/arcanedev/laravel-assets)[ Docs](https://github.com/ARCANEDEV/LaravelAssets)[ RSS](/packages/arcanedev-laravel-assets/feed)WikiDiscussions master Synced today

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

Laravel Assets [![Packagist License](https://camo.githubusercontent.com/9ed026dfa20fac4946a01f0c6a5e112fb6d7a539f85eb18cf6776e2039bec876/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617263616e656465762f6c61726176656c2d6173736574732e7376673f7374796c653d666c61742d737175617265)](LICENSE.md) [![For Laravel 5](https://camo.githubusercontent.com/05e3e2fd7ff1ef282e92980d91e3638779a68008eeba00082e86350edf4c5688/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466f722532304c61726176656c2d352e372d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/LaravelAssets)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#laravel-assets--)

[![Travis Status](https://camo.githubusercontent.com/ebbec6610b864ebd0d034fc17f6de15bbd48267176645ba3de5b339d94ed3103/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f415243414e454445562f4c61726176656c4173736574732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ARCANEDEV/LaravelAssets)[![Coverage Status](https://camo.githubusercontent.com/c9c78c26a26b1c415c4ad2f62205ba1c87d21b9b88e38eeeefead4c63a158be0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f415243414e454445562f4c61726176656c4173736574732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/LaravelAssets/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4af4f6e311996e5958116f4d2ec7971e8267ede653b251d297b54ce1d075c9aa/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f415243414e454445562f4c61726176656c4173736574732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/LaravelAssets/?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/51184ecb9bdc6b4f63fe6cf6ccdb4de0eb4a5ba4183a710b5af4d16dab770ce1/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f37653634626435362d373364352d346133652d393131342d6162663661626463363565372e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/7e64bd56-73d5-4a3e-9114-abf6abdc65e7)[![Github Issues](https://camo.githubusercontent.com/1b0ab2b6784d31d2c294dce33e88498440e38aa2b0faf55974812e21eeaff923/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f415243414e454445562f4c61726176656c4173736574732e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/LaravelAssets/issues)

[![Packagist](https://camo.githubusercontent.com/d42166a75c1487475d6aa0182a48f61eb19f495462cef743c6d2e3b4057c1609/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d617263616e656465762f6c61726176656c2d2d6173736574732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/laravel-assets)[![Packagist Release](https://camo.githubusercontent.com/f9fcf4794c4cf6a0be778b3cfa4c67766989126cf2d28d5a1bacdfdf21119554/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617263616e656465762f6c61726176656c2d6173736574732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/laravel-assets)[![Packagist Downloads](https://camo.githubusercontent.com/a6e9c706759b48d5320e24d782fcd6017bd0cf96e16e0b037c3762e218200e4c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617263616e656465762f6c61726176656c2d6173736574732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/laravel-assets)

*By [ARCANEDEV©](http://www.arcanedev.net/)*

This Assets package allows you to structure your assets into multiple workspaces (like frontoffice + backoffice + components + packages…).

**IMPORTANT:** This package is a helper like `php artisan preset` built on top of the [Yarn's workspaces feature](https://yarnpkg.com/lang/en/docs/workspaces).

Features
--------

[](#features)

- A very flexible assets management.
- Easy setup &amp; configuration.
- Well documented &amp; IDE Friendly.
- Made with ❤️ &amp; ☕.

Table of contents
-----------------

[](#table-of-contents)

1. [Installation and Setup](_docs/1-Installation-and-Setup.md)
2. [Configuration](_docs/2-Configuration.md)
3. [Usage](_docs/3-Usage.md)
4. [Extra](_docs/4-Extra.md)

Description
-----------

[](#description)

This package allows you to generate a structure like this (and it's customizable)

```
laravel-projet
  |--app
  |--assets
  |  |--laravel (frontoffice with dependencies: bootstrap + jquery + popper.js + vue + axios)
  |  |--admin (backoffice with dependencies: tailwind + vue + axios)
  |  |--alert-component (shared vue component)
  |  ...
  |--config
  ...

```

The `laravel-mix` will generate the **frontoffice** assets `[laravel]` (css/app.css, js/app.js), same as the **backoffice** assets `[admin]` (css/admin.css, js/admin.js).

And both `[laravel]` and `[admin]` has their own `package.json` file (+ their dependencies) and also can *re-use* the shared component `[alert-component]` (for example) as a dependency.

For example:

**assets/laravel/package.json**

```
{
    "private": true,
    "name": "@assets/laravel",
    "version": "1.0.0",
    "devDependencies": {
        "axios": "^0.18",
        "bootstrap": "^4.0.0",
        "jquery": "^3.2",
        "laravel-mix": "^2.0",
        "lodash": "^4.17.5",
        "popper.js": "^1.12",
        "vue": "^2.5.17",
        "@assets/alert-component": "~1.0.0"
    }
}
```

**assets/laravel/js/app.js**

```
//...

@require('@assets/alert-component');

//...
```

**assets/laravel/sass/app.scss**

```
//...

@require('~@assets/alert-component/sass/style.scss');

//...
```

Contribution
------------

[](#contribution)

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [ARCANEDEV](https://github.com/arcanedev-maroc)
- [All Contributors](https://github.com/ARCANEDEV/LaravelAssets/graphs/contributors)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Every ~1 days

Total

2

Last Release

2723d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9376707?v=4)[ARCANEDEV](/maintainers/arcanedev)[@ARCANEDEV](https://github.com/ARCANEDEV)

---

Top Contributors

[![arcanedev-maroc](https://avatars.githubusercontent.com/u/3282340?v=4)](https://github.com/arcanedev-maroc "arcanedev-maroc (7 commits)")

---

Tags

arcanedevassetsassets-managementlaravellaravel-mixnpmphpyarnyarn-workspaceslaravelassetsarcanesoftarcanedevyarnnpmlaravel-mix

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arcanedev-laravel-assets/health.svg)

```
[![Health](https://phpackages.com/badges/arcanedev-laravel-assets/health.svg)](https://phpackages.com/packages/arcanedev-laravel-assets)
```

###  Alternatives

[arcanedev/support

ARCANEDEV Support Helpers

1888.2M78](/packages/arcanedev-support)[jasonlewis/resource-watcher

Simple PHP resource watcher library.

221145.8k14](/packages/jasonlewis-resource-watcher)[arcanedev/gravatar

A library providing easy gravatar integration/generation (Laravel supported).

1986.8k](/packages/arcanedev-gravatar)[efficiently/jquery-laravel

This package provides jQuery and the jQuery-ujs driver for your Laravel &gt;= 6 application.

1311.0k1](/packages/efficiently-jquery-laravel)

PHPackages © 2026

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