m2de / bugherd-laravel
A Laravel Helper package to install the [Bugherd](https://www.bugherd.com/) script
Installs: 61
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.1.3
- laravel/framework: >=5.6.5
Requires (Dev)
- squizlabs/php_codesniffer: >=3.1
This package is not auto-updated.
Last update: 2024-12-13 16:56:57 UTC
README
A Laravel Helper package to install the Bugherd script
Installation
composer require m2de/bugherd-laravel
Add your Bugherd project ID to your .env or the bugherd.php config.
# .env
BUGHERD_PROJECT_KEY=abcdef123456gh
Usage
Inside your layout or blade template add the blade helper where you want to publish the bugherd installation script.
// resources/views/layouts/default.blade.php <head> ... @bugherd </head>
Configuration
By default the Bugherd script will only output in staging
environments, however you can customise this in the config of this package.
You may publish the config and views to customise them if required.