terabytesoft / asset-bootbox
Yii3 Asset Bootbox
dev-master / 0.0.1.x-dev
2019-06-06 13:36 UTC
Requires
- php: ^7.2
Requires (Dev)
- codeception/codeception: ^3.0
- foxy/foxy: ^1.0
- hiqdev/composer-config-plugin: ^1.0@dev
- nyholm/psr7: ^1.0
- yiisoft/cache: dev-master#b10f733
- yiisoft/di: ^3.0@dev
- yiisoft/log: ^3.0@dev
- yiisoft/log-target-file: ^3.0@dev
- yiisoft/view: ^3.0@dev
- yiisoft/yii-bootstrap4: ^3.0@dev
- yiisoft/yii-core: dev-master#ac80ebf
- yiisoft/yii-debug: ^3.0@dev
- yiisoft/yii-web: dev-master#4d5d840
This package is auto-updated.
Last update: 2024-12-07 02:37:20 UTC
README
Asset BootBox
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:
- PHP 7.2 or higher.
- NPM Installation
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.