octohk/laravel-segment
octohk/laravel-segment is a Laravel package for Segment analytics. Send identify, track, page, group, and alias calls through a simple facade, configure your write key, and optionally queue events so analytics never block application requests. Lightweight setup for product tracking.
^1.9 (not ^1.8) in composer.json; older tags will fail dependency resolution on a Laravel 13 app.php in composer.json and your CI image match before chasing package-level errors — most "package won't install" reports after this release are actually PHP-version mismatches.php artisan vendor:publish --provider="...") and read it top to bottom before writing any code.config/<package>.php and is read from env() only inside that file — this keeps config:cache working in production.App\Support\...) limits upgrade pain the next time a major Laravel release lands, since only the adapter needs touching.RefreshDatabase for anything persisted, Http::fake() / queue and event fakes for outbound behaviour, and a small integration test that asserts the provider actually registers on a bare app.laravel/framework: ^12.0|^13.0 across your supported PHP versions. Compatibility claims regress quietly; a matrix is the cheapest way to catch it.composer update <vendor>/<package> -W → php artisan package:discover → clear cached config/routes → run the suite. Do it on a branch so the diff is reviewable.composer why-not laravel/framework 13.* — it's usually a transitive dependency with a stale constraint, not this package.composer update. config:cache and the discovery manifest both survive an upgrade and can mask new bindings. Clear config, cache, route, and view before concluding anything is broken; in production remember to re-run config:cache after deploy.providers in config/app.php — double registration produces confusing duplicate-listener behaviour.config/<package>.php are safe, but files republished with --force will overwrite them; keep local overrides in a separate config key or an env-driven value.composer.lock, not just composer.json. For a compatibility-only release, commit the lockfile change so every environment runs the same tag.How can I help you explore Laravel packages today?