Download the PHP package binarcode/laravel-segment without Composer
On this page you can find all versions of the php package binarcode/laravel-segment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download binarcode/laravel-segment
More information about binarcode/laravel-segment
Files in binarcode/laravel-segment
Package laravel-segment
Short Description A Laravel wrapper for the Segment API and events tracking.
License MIT
Homepage https://github.com/binarcode/laravel-segment
Informations about the package laravel-segment
A Laravel wrapper for the Segment API and events tracking.
Segment simplifies the process of collecting data and connecting new tools, allowing you to spend more time using your data, and less time trying to collect it. You can use Segment to track events that happen when a user interacts with the interfaces. “Interfaces” is Segment’s generic word for any digital properties you own: your website, mobile apps, and processes that run on a server or OTT device.
Official documentation
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
Track event
Alias anonymous id to a real user id
The Segment Identify
The Segment Identify call lets you tie a user to their actions and record traits about them. It includes a unique User ID and any optional traits you know about the user, like their email, name, and more.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Eduard Lupacescu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-segment with dependencies
segmentio/analytics-php Version ^2.0
spatie/data-transfer-object Version ^3.7
spatie/laravel-package-tools Version ^1.9.2