https://github.com/its-digital-technology/support
Package of support classes for Northeastern University websites
https://github.com/its-digital-technology/support
Last synced: 3 months ago
JSON representation
Package of support classes for Northeastern University websites
- Host: GitHub
- URL: https://github.com/its-digital-technology/support
- Owner: ITS-Digital-Technology
- Created: 2023-06-13T06:35:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-01T06:55:14.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T06:53:13.877Z (3 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Northeastern Support
Package of support classes for Northeastern University websites
## Installation
You can install the package via composer:
```bash
composer require northeastern-web/support
```## Usage
### Meta tags
The package includes the Meta class for any meta related tags.
Add the following code to inside your `` tag.
```php
```
If your project is using Laravel Blade's templating engine, you can add the following code.
```blade
{!! Northeastern\Support\Meta::head() !!}
```### Analytics scripts
The package includes the Analytics class for the Northeastern analytics scripts.
Add the following code to inside your `` tag.
```php
```
And add the following code just after your opening `` tag.
```php
```
If your project is using Laravel Blade's templating engine, you can add the following code inside your `` tag.
```blade
{!! Northeastern\Support\Analytics::googleTagManagerScript() !!}
```And add the following code just after your opening `` tag.
```blade
{!! Northeastern\Support\Analytics::googleTagManagerNoScript() !!}
```