Releases: jeffersongoncalves/laravel-umami
Releases · jeffersongoncalves/laravel-umami
v2.0.4
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- Bump ramsey/composer-install from 3 to 4 by @dependabot[bot] in #12
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #13
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- Add Laravel 13.x support in composer.json
- Add orchestra/testbench ^11.0 for Laravel 13 testing
v2.0.1
Fixed
- Added missing
spatie/laravel-settingsmigration step to README installation guide
v2.0.0
Breaking Changes
- Configuration migrated to database: Replaced
config/umami.phpwithspatie/laravel-settings. Settings are now stored in the database instead of.envfile. - New dependency:
spatie/laravel-settings ^3.3is now required.
Migration Guide
- Remove any published
config/umami.phpfrom your application - Remove
UMAMI_*environment variables from.env(no longer used) - Ensure
spatie/laravel-settingsis configured (thesettingstable must exist) - Run
php artisan migrateto create the Umami settings in the database - Set your settings via code:
use JeffersonGoncalves\Umami\Settings\UmamiSettings;
$settings = app(UmamiSettings::class);
$settings->website_id = 'your-website-id';
$settings->host_analytics = 'https://your-umami-instance.com';
$settings->save();What's Changed
- Removed
config/umami.phpand allenv()reads - Added
UmamiSettingsclass extendingSpatie\LaravelSettings\Settings - Added settings migration with default values
- Updated
UmamiServiceProviderto register settings class and migration paths - Updated Blade view to resolve settings from the container
- Updated README with new installation and usage instructions
Available Settings
| Property | Type | Default | Description |
|---|---|---|---|
website_id |
?string |
null |
Your Umami website ID |
host_analytics |
string |
https://cloud.umami.is |
URL of your Umami instance |
host_url |
?string |
null |
Override data destination URL |
auto_track |
bool |
true |
Automatically track pageviews and events |
domains |
?string |
null |
Comma-delimited list of allowed domains |
tag |
?string |
null |
Tag to group events in the dashboard |
exclude_search |
bool |
false |
Exclude search parameters from URL |
exclude_hash |
bool |
false |
Exclude hash value from URL |
v1.1.0
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Full Changelog: v1.0.0...v1.0.1