chocolatelabs / tend
Laravel feedback widget for Tend
Fund package maintenance!
v0.1.0
2026-08-30 03:15 UTC
Requires
- php: ^8.4
- illuminate/contracts: ^11.0||^12.0||^13.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^11.0.0||^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
README
Laravel package that injects the Tend feedback widget into your app and sends reports to Tend.
Installation
composer require chocolatelabs/tend
Add your project credentials from the Tend dashboard:
TEND_PROJECT_ID= TEND_KEY=
The widget is injected on HTML responses once both values are set. You can publish the config if you want to change placement or disable injection:
php artisan vendor:publish --tag="tend-config"
return [ 'enabled' => env('TEND_ENABLED', true), 'position' => env('TEND_POSITION', 'bottom-right'), 'url' => env('TEND_URL', 'https://usetend.dev'), 'project_id' => env('TEND_PROJECT_ID'), 'key' => env('TEND_KEY'), ];
TEND_URL is only needed to point a local app at a non-production Tend instance.
Optionally publish the widget views:
php artisan vendor:publish --tag="tend-views"
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.