承接 danilopolani/filament-plausible-widget 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

danilopolani/filament-plausible-widget

Composer 安装命令:

composer require danilopolani/filament-plausible-widget

包简介

Plausible widget for Filament admin dashboard

README 文档

README

Latest Version on Packagist Total Downloads

Add a fancy Plausible statistics widget to your Filament admin dashboard.

Filament Plausible Widget preview

If you're using Filament v1, please navigate the 1.x branch.

Installation

You can install the package via composer:

composer require danilopolani/filament-plausible-widget

Then publish the assets of the package:

php artisan vendor:publish --tag=filament-plausible-widget-assets

If you're upgrading from v1 to v2 please note that the namespace changed from \Danilopolani\ to \DaniloPolani\.

Filament v3

To properly see the widget in Filament v3, open your AdminPanelProvider file and add the widget in the ->widgets() array:

use DaniloPolani\FilamentPlausibleWidget\Widgets\PlausibleWidget;

->widgets([
    Widgets\AccountWidget::class,
    Widgets\FilamentInfoWidget::class,
    PlausibleWidget::class,
])

Upgrade

When upgrading, you may want to republish the assets:

php artisan vendor:publish --tag=filament-plausible-widget-assets --force

Configuration

You need only two env variables to display your Plausible widget:

Env Description
FILAMENT_PLAUSIBLE_TOKEN Your Plausible API key. Read more »
FILAMENT_PLAUSIBLE_SITE_ID The site ID you want to get statistics of. Read more »

If you want to go deeper you can publish the configuration file:

php artisan vendor:publish --tag=filament-plausible-widget-config

There are a few notable configuration options for the package.

token

Your Plausible API key. You can obtain an API key for your account by going to your user settings page https://plausible.io/settings.

site_id

The site ID you want to get statistics of. You can obtain this value by navigating to your site settings in Plausible and grab the "value" of the domain field. E.g. plausible.io/mysite.com becomes mysite.com.

periods.default

The period shown by default in the dashboard. Can be any of these values: day, 7d, 30d, month, 6mo, 12mo. Default: 7d.

periods.selectable

Choose if let users select a different period of statistics in the dashboard. Default: true.

cache.enabled

Recommended

Cache the statistics to avoid API calls for a specific amount of time. Default: true.

cache.ttl

If cache is enabled, define for how long the statistics are stored in the cache.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email danilo.polani@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

danilopolani/filament-plausible-widget 适用场景与选型建议

danilopolani/filament-plausible-widget 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.92k 次下载、GitHub Stars 达 20, 最近一次更新时间为 2021 年 03 月 17 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「filament」 「plausible」 「danilopolani」 「filament-admin」 「filament-plausible-widget」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 danilopolani/filament-plausible-widget 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 danilopolani/filament-plausible-widget 我们能提供哪些服务?
定制开发 / 二次开发

基于 danilopolani/filament-plausible-widget 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 3.92k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 20
  • 点击次数: 34
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 20
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-17