fostermadeco/pool
Composer 安装命令:
composer require fostermadeco/pool
包简介
A Segment package for Laravel
README 文档
README
A Segment package for Laravel.
The goal of this package is to make it easier to use Segment within a Laravel package.
It formats the data as needed and uses segmentio/analytics-php to make the API calls.
Installation
Currently Laravel 5.6 is the only version supported.
Require the package:
composer require fostermadeco/pool
Publish the config:
php artisan vendor:publish
Add default destinations to the integrations array in the segment config file, for example:
'integrations' => [ 'All' => false, 'Google Analytics' => true, 'Optimizely' => true, ],
Add SEGMENT_WRITE_KEY to your .env file and assign it the value of the write key Segment
provides for your source:
SEGMENT_WRITE_KEY=
Further setup is detailed in the documentation below.
Calls
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-03