PHPackages                             ivoschimani/loadscripts - 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. ivoschimani/loadscripts

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

ivoschimani/loadscripts
=======================

Allows optimized loading of JS and CSS.

v0.2.9(7mo ago)1163LGPL-3.0+PHPPHP ^8.1

Since Feb 4Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/ivoschimani/loadscripts)[ Packagist](https://packagist.org/packages/ivoschimani/loadscripts)[ RSS](/packages/ivoschimani-loadscripts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (24)Used By (0)

Contao LoadScripts
==================

[](#contao-loadscripts)

Introduction
------------

[](#introduction)

The Module allows to specify which CSS / JS should be loaded in the **&lt;head&gt;**-Tag and which at the end of the **&lt;body&gt;**-Tag. The CSS and JS Files will be combined and Minimized. The CSS Files in the **&lt;head&gt;**-Tag will be embeded as inline Style. JS Files in the **&lt;head&gt;**-Tag smaller than 20kb will also be embeded as inline Javascript.

Usage
-----

[](#usage)

The Module adds new Fields to the Layout table where you can select your files which should be loaded in the **&lt;head&gt;**- and **&lt;body&gt;**-Tag

You could also use the **$GLOBALS** Array in your Template to load your Files.

Add your Files to the **$GLOBALS\['TL\_CSS\_HEAD'\] / $GLOBALS\['TL\_JAVASCRIPT\_HEAD'\]** Arrays to load your files in the &lt;head&gt;-Tag and the **$GLOBALS\['TL\_JAVASCRIPT'\] / $GLOBALS\['TL\_CSS'\]** Arrays to load your Files at the end of the &lt;body&gt;-Tag

If you use jQuery you could add some js code to the **$GLOBALS\['TL\_JAVASCRIPT\_QUEUE'\]** Array. The Code will be executed after jQuery is Loaded.

The Module will work with the most custom extensions if you change the Templates. In many cases you have to add the inline JS Functions without the &lt;script&gt;-Tag to the **$GLOBALS\['TL\_JAVASCRIPT\_QUEUE'\]** Array.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance63

Regular maintenance activity

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Recently: every ~94 days

Total

22

Last Release

224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb9b0fff8958e8865a4e75b51455c2380f87343a6b129b80ca678dfe483501c3?d=identicon)[ivo@schimani.de](/maintainers/ivo@schimani.de)

---

Top Contributors

[![ivoschimani](https://avatars.githubusercontent.com/u/33956537?v=4)](https://github.com/ivoschimani "ivoschimani (17 commits)")

---

Tags

contaoloadscripts

### Embed Badge

![Health badge](/badges/ivoschimani-loadscripts/health.svg)

```
[![Health](https://phpackages.com/badges/ivoschimani-loadscripts/health.svg)](https://phpackages.com/packages/ivoschimani-loadscripts)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[inspiredminds/contao-wowjs

Integrates WOW.js for Contao content elements and form fields.

1813.0k](/packages/inspiredminds-contao-wowjs)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

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