awcodes / gtm
Add Google Tag Manager to a Laravel application with two Blade components and a config file.
Fund package maintenance!
v2.0.1
2026-08-16 17:20 UTC
Requires
- php: ^8.2
- spatie/laravel-package-tools: ^1.13.5
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^9.0|^10.0|^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- rector/rector: ^2.0
- spatie/laravel-ray: ^1.26
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-05 19:58:26 UTC
README
Add Google Tag Manager to a Laravel application with two Blade components and a config file.
Documentation
The full documentation lives at docs.aw.codes/gtm.
Requirements
- PHP 8.2 or higher
Installation
composer require awcodes/gtm
Then set your container ID and, optionally, publish the config file. See Installation for those steps.
Changelog
Please see the releases for what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.