PHPackages                             panugaling/require-js - 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. panugaling/require-js

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

panugaling/require-js
=====================

1191PHP

Since Nov 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dashawk/Laravel-RequireJS)[ Packagist](https://packagist.org/packages/panugaling/require-js)[ RSS](/packages/panugaling-require-js/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-RequireJS
=================

[](#laravel-requirejs)

Laravel package to automatically create files for RequireJS. This is for my personal use but if there is anyone who wants to use this package, feel free to fork it.

Installation
============

[](#installation)

Install the package using composer. Edit your `composer.json` file and require this.

```
"panugaling/require-js": "dev-master"
```

Next is to update `composer` from the terminal.

```
composer update

```

Let's now add the `Service Provider` by opening your `app/config/app.php` and add a new item in the providers array.

```
'Panugaling\RequireJS\RequireJSServiceProvider',
```

If you want to change the configuration of the package, type this command in the terminal.

```
php artisan config:publish panugaling/require-js

```

That's it! You are now ready to use the package.

Usage
=====

[](#usage)

In your blade template, you can use it like this.

```

	{{ Required::load('main') }}

```

The argument `main` is the filename of our main js file. you can change it what ever you like.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae928ecfbc35b93ad1676c292f35a99415e857a30e3c925dafd993588f993c1b?d=identicon)[dashawk](/maintainers/dashawk)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/panugaling-require-js/health.svg)

```
[![Health](https://phpackages.com/badges/panugaling-require-js/health.svg)](https://phpackages.com/packages/panugaling-require-js)
```

###  Alternatives

[vinkla/extended-acf

Register advanced custom fields with object-oriented PHP

503264.8k11](/packages/vinkla-extended-acf)[tomloprod/colority

Colority is a lightweight PHP library designed to handle color transformations, validations and manipulations with ease.

22688.4k1](/packages/tomloprod-colority)[vipsoft/unzip

Unzip library - a ZipArchive wrapper

331.4M](/packages/vipsoft-unzip)[tomasnorre/crawler

Crawler extension for TYPO3

58397.5k1](/packages/tomasnorre-crawler)[cmrcx/phptidy

PHP code formatter

45602.3k9](/packages/cmrcx-phptidy)[drmabuse/yii2-sir-trevor-js

Yii 2 Sir Trevor JS widget

155.5k](/packages/drmabuse-yii2-sir-trevor-js)

PHPackages © 2026

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