承接 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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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