定制 samosadlaker/linkswidget 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

samosadlaker/linkswidget

最新稳定版本:1.0.0

Composer 安装命令:

composer require samosadlaker/linkswidget

包简介

Just a simple widget to display links inside statamic CP.

README 文档

README

Just simple widgets that will display quick links in statamic dashboard.

Features

  • Easy & simple
  • Lightweight

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require samosadlaker/linkswidget

How to Use

To add the widget to the dashboard, add the following entry to the widgets array in config/statamic/cp.php:

[
    'type' => 'links',
    'width' => 100,
],

How to customize it

Just run this command

php artisan vendor:publish --tag=samosadlaker-linkswidget-config

Inside config/statamic/links.php you can add your links with icons. It has a folowing strucutre:

[
  'icon' => 'bx-home',
  'title' => 'Home',
  'url' => '/'
]

I am using boxicons image library, so here you can search for icon names: https://boxicons.com/ If you want you can use another icons library by adding styles to statamic panel and just use class names.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固