terabytesoft/asset-bootbox

dev-master / 0.0.1.x-dev 2019-06-06 13:36 UTC

This package is auto-updated.

Last update: 2024-12-07 02:37:20 UTC


README

Asset BootBox

Unstable Version Build Status Build Status Code Quality Code Intelligence Status Maintainability StyleCI


DIRECTORY STRUCTURE:

config/             contains extension configurations
docs/               contains documentation extension
src/
  Assets/           contains assets extension
    Js/             contains js custom extension
tests/              contains tests codeception for extension
vendor/             contains dependent 3rd-party packages

REQUIREMENTS:

  • The minimum requirement by this project template that your Web server supports:

INSTALLATION:

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this extension using the following command composer:

composer require terabytesoft/asset-bootbox '^0.0.1@dev'

or add composer.json:

"terabytesoft/asset-bootbox":"^0.0.1-dev"

USAGE:

<?php

\TerabyteSoft\Assets\BootBox\BootBoxAsset::register($this);

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

RUN TESTS CODECEPTION:

$ cd vendor/terabytesoft/asset-bootbox
$ composer update --prefer-dist -vvv
$ vendor/bin/codecept run

WEB SERVER SUPPORT:

  • Apache.
  • Nginx.
  • OpenLiteSpeed.

DOCUMENTATION STYLE GUIDE:

Style CI Documentation PSR2.

LICENCE:

License YiiFramework Total Downloads