An open API service indexing awesome lists of open source software.

https://github.com/yii2-extensions/asset-bootbox

Asset BootBox
https://github.com/yii2-extensions/asset-bootbox

assets bootbox yii2

Last synced: 6 months ago
JSON representation

Asset BootBox

Awesome Lists containing this project

README

        





Asset for Bootbox.





php-version


PHPUnit


PHPUnit


Codecov


Infection

![asset-bootbox](docs/images/bootbox.png)

## Installation

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

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
'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]
);
```

## Quality code

[![static-analysis](https://github.com/yii2-extensions/asset-bootbox/actions/workflows/static.yml/badge.svg)](https://github.com/yii2-extensions/asset-bootbox/actions/workflows/static.yml)
[![phpstan-level](https://img.shields.io/badge/PHPStan%20level-7-blue)](https://github.com/yii2-extensions/asset-bootbox/actions/workflows/static.yml)
[![style-ci](https://github.styleci.io/repos/193722479/shield?branch=main)](https://github.styleci.io/repos/193722479?branch=main)

## Support versions Yii2

[![Yii20](https://img.shields.io/badge/Yii2%20version-2.0-blue)](https://github.com/yiisoft/yii2/tree/2.0.49.3)
[![Yii22](https://img.shields.io/badge/Yii2%20version-2.2-blue)](https://github.com/yiisoft/yii2/tree/2.2)

## Testing

[Check the documentation testing](/docs/testing.md) to learn about testing.

## Our social networks

[![Twitter](https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter&logoColor=1DA1F2&labelColor=555555?style=flat)](https://twitter.com/Terabytesoftw)

## License

The MIT License. Please see [License File](LICENSE.md) for more information.