定制 condoedge/utils 二次开发

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

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

condoedge/utils

最新稳定版本:v0.2.116

Composer 安装命令:

composer require condoedge/utils

包简介

Utils helpers module to your kompo application

README 文档

README

Install and configuration steps

Use composer

composer require "condoedge/utils"

Migrate database

php artisan migrate

Add HasUserSettings trait

In your User model, add the HasUserSettings trait:

use CondoEdge\Utils\Traits\HasUserSettings;

class User extends Authenticatable
{
    use HasUserSettings;

    // Your user model code...
}

Publish config file

php artisan vendor:publish --provider="CondoEdge\Utils\UtilsServiceProvider" --tag=kompo-utils-config

Publish icons

php artisan vendor:publish --provider="CondoEdge\Utils\UtilsServiceProvider" --tag=kompo-kompo-utils-icons

Publish scripts

php artisan vendor:publish --provider="CondoEdge\Utils\UtilsServiceProvider" --tag=kompo-utils-assets

Load styles

// In you main scss file
@use "../../vendor/condoedge/utils/resources/sass/kompo-utils";

Install intro.js

npm install intro.js --save

Load scripts

// In your main js file
import utils from '../../vendor/condoedge/utils/resources/js/utils';
window.utils = utils;

IntroJS Animations

More explanations soon. For now just a minor clarification to set the image tooltip for IntroJS animations.

$introjs-image-tooltip: url('../images/introjs/introjs-image-tooltip.png');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-10