simpleanalytics/laravel-package 问题修复 & 功能扩展

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

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

simpleanalytics/laravel-package

最新稳定版本:1.1.3

Composer 安装命令:

composer require simpleanalytics/laravel-package

包简介

Simple Analytics is a clean, simple, and privacy friendly analytics tool. Actionable data in a beautiful dashboard. It does not use cookies and you can bypass ad blockers. Make sure to signup to get most value out of this plugin.

README 文档

README

Simple Analytics logo

Laravel Package

Installing it

Install the plugin:

  1. Run
composer require simpleanalytics/laravel-package

Or add repositories in composer.json

"repositories": [
   {
     "url": "https://github.com/simpleanalytics/laravel-package",
      "type": "git"
    }
 ],

and add the package name in require with the branch name after the dev:

"simpleanalytics/laravel-package": "dev-main"

"simpleanalytics/laravel-package": "^1.0"

Using it

Include the scripts before your end body tag in your .blade template:

    ...
    @include('LaravelPackage::scripts')
</body>

Configuration

The defaults are set in config/cors.php. Publish the config to copy the file to your own config:

php artisan vendor:publish --provider="SimpleAnalytics\LaravelPackage\SimpleAnalyticsServiceProvider" --tag="config"

Track Api Request

To activate serverside tracking of the api activate track-api in your config file:

'track-api' => true

Hints

With version 5.4 or below, you must register your service providers manually in the providers section of the config/app.php configuration file in your laravel project.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固