buchin/scriptholder

Don't repeat yourself to place stats/ads script

Installs: 45

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0

Language:HTML

Type:package

dev-master 2016-12-07 04:44 UTC

This package is auto-updated.

Last update: 2024-11-15 19:11:16 UTC


README

Place script anywhere accross apps

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

composer require buchin/scriptholder

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

<html>
	<head>
		
	</head>
	<body>
		
		{{ Scriptholder::place('statcounter') }}
	</body>
</html>