austenc/socialize
Composer 安装命令:
composer require austenc/socialize
包简介
Simple social sharing buttons for your Statamic site
README 文档
README
🤩 Simple and configurable social sharing buttons for Statamic 🤩
Easily add and configure social sharing intent buttons to your Statamic site.
The following are supported (more coming soon!):
Requirements
- Statamic 3
Installation
Require the package with composer:
composer require austenc/socialize
How to Use
- Add
{{ socialize:css }}to the<head>tag of your layout to pull in the CSS - In the Statamic Control Panel, click on the Socialize option under Tools. Next, toggle the buttons you'd like to enable and change any default settings.
- Use the
{{ socialize }}tag where you want the buttons to appear
Changing the Layout
You can also use a "sticky" button layout on the top, right, bottom or left by passing in the layout parameter like so:
{{ socialize layout="top" }}
{{ socialize layout="right" }}
{{ socialize layout="bottom" }}
{{ socialize layout="left" }}
Changelog
1.0.0
- Initial version which adds support for Twitter, Facebook and Email share buttons
Roadmap
The following are planned features or user suggestions. All PRs will be considered, so feel free to open one!
- Write tests to verify the button URLs are generated correctly
- Can it cache settings in the stache instead of reading YAML file every time?
- Is it as simple as using Laravel's caching stuff?
- Add Behance support
- Add Pinterest support
- Sharing counts
- Easier theme customization
Support
Find a bug? Have a feature request? I'd be happy to help! Open an issue on github or reach out on twitter @austencam with suggestions!
austenc/socialize 适用场景与选型建议
austenc/socialize 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 259 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 08 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 austenc/socialize 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 austenc/socialize 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 259
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-08-23