fostermadeco/pool 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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. Identify
  2. Track
  3. Page
  4. Screen
  5. Group
  6. Alias

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固