PHPackages                             buchin/scriptholder - 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. buchin/scriptholder

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

buchin/scriptholder
===================

Don't repeat yourself to place stats/ads script

0452HTML

Since Dec 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/buchin/scriptholder)[ Packagist](https://packagist.org/packages/buchin/scriptholder)[ RSS](/packages/buchin-scriptholder/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Scriptholder
============

[](#scriptholder)

Place script anywhere accross apps

Why?
----

[](#why)

I don't want to manually place adsense code, stat script manually in all of my apps. This package help me automate that.

Installation
------------

[](#installation)

```
composer require buchin/scriptholder
```

Usage
-----

[](#usage)

Example usage for laravel blade template, injecting statcounter script Script placed in vendor/buchin/scriptholder/scripts/script\_name.html

```
@php
use Buchin\Scriptholder\Scriptholder;
@endphp

		{{ Scriptholder::place('statcounter') }}

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

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/a5a56c7945cd18010006a2c389215b7f08891ec437ec45c722f1f240f9133d4a?d=identicon)[buchin](/maintainers/buchin)

---

Top Contributors

[![buchin](https://avatars.githubusercontent.com/u/156540?v=4)](https://github.com/buchin "buchin (6 commits)")

### Embed Badge

![Health badge](/badges/buchin-scriptholder/health.svg)

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

###  Alternatives

[stepanenko3/nova-markdown

Nova Markdown advanced field

1029.9k](/packages/stepanenko3-nova-markdown)

PHPackages © 2026

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