定制 yii2-extensions/asset-bootbox 二次开发

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

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

yii2-extensions/asset-bootbox

Composer 安装命令:

composer require yii2-extensions/asset-bootbox

包简介

Asset BootBox for Yii Framework.

README 文档

README

Asset for Bootbox.


php-version PHPUnit PHPUnit Codecov Infection

asset-bootbox

Installation

The preferred way to install this extension is through composer.

Either run

composer require --dev --prefer-dist yii2-extensions/asset-bootbox

or add

"yii2-extensions/asset-bootbox": "dev-main"

to the require-dev section of your composer.json file.

Usage

<?php

declare(strict_types=1);

use Yii2\Asset\BootboxAsset;
use yii\helpers\Html;

BootboxAsset::register($this);

echo Html::a(
    'Delete',
    '#',
    [
        'class' => 'btn btn-danger',
        'data' => [
            'confirm' => 'Are you sure you want to delete this item?',
            'method' => 'post',
        ],
    ]
);

Quality code

static-analysis phpstan-level style-ci

Support versions Yii2

Yii20 Yii22

Testing

Check the documentation testing to learn about testing.

Our social networks

Twitter

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: mit
  • 更新时间: 2023-11-16