Download the PHP package lifeonscreen/segment without Composer
On this page you can find all versions of the php package lifeonscreen/segment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lifeonscreen/segment
More information about lifeonscreen/segment
Files in lifeonscreen/segment
Informations about the package segment
Alt Three Segment
A Segment bridge for Laravel 5.
Installation
This version requires PHP 7.1 or 7.2, and supports Laravel 5.5 - 5.8 only.
To get the latest version, simply require the project using Composer:
Once installed, if you are not using automatic package discovery, then you need to register the AltThree\Segment\SegmentServiceProvider
service provider in your config/app.php
.
Configuration
Alt Three Segment requires configuration.
To get started, you'll need to publish all vendor assets:
This will create a config/segment.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
Usage
Once you've set your write_key
value in the configuration, you're ready to go! For the most part you can follow Segments own instructions however, you'll want to replace the Analytics
classname with Segment
- plus, you don't need to call class_alias
.
Identify the user
Track actions
Security
If you discover a security vulnerability within this package, please e-mail us at [email protected]. All security vulnerabilities will be promptly addressed.
License
Alt Three Segment is licensed under The MIT License (MIT).
All versions of segment with dependencies
illuminate/config Version 5.5.*|5.6.*|5.7.*|5.8.*
illuminate/support Version 5.5.*|5.6.*|5.7.*|5.8.*
segmentio/analytics-php Version ~1.5.2