https://github.com/yiisoft/yii-bootstrap4
Yii Framework Bootstrap 4 support
https://github.com/yiisoft/yii-bootstrap4
bootstrap bootstrap4 hacktoberfest
Last synced: 6 months ago
JSON representation
Yii Framework Bootstrap 4 support
- Host: GitHub
- URL: https://github.com/yiisoft/yii-bootstrap4
- Owner: yiisoft
- License: bsd-3-clause
- Archived: true
- Created: 2018-08-02T15:53:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T11:19:56.000Z (over 4 years ago)
- Last Synced: 2024-04-15T03:05:26.121Z (about 1 year ago)
- Topics: bootstrap, bootstrap4, hacktoberfest
- Language: PHP
- Homepage: https://www.yiiframework.com/
- Size: 135 KB
- Stars: 23
- Watchers: 22
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
Yii Framework Twitter Bootstrap 4 Extension
> ⚠️ Please do not start new projects with Bootstrap 4. There is [Bootstrap 5 package available](https://github.com/yiisoft/yii-bootstrap5).
This [Yii Framework] extension encapsulates [Twitter Bootstrap 4] components
and plugins in terms of Yii widgets, and thus makes using Bootstrap components/plugins
in Yii applications extremely easy.[Yii Framework]: http://www.yiiframework.com/
[Twitter Bootstrap 4]: https://getbootstrap.com/docs/4.1/getting-started/introduction/Documentation is at [docs/guide/README.md](docs/guide/README.md).
[](https://packagist.org/packages/yiisoft/yii-bootstrap4)
[](https://packagist.org/packages/yiisoft/yii-bootstrap4)
[](https://github.com/yiisoft/yii-bootstrap4/actions?query=workflow%3Abuild)
[](https://scrutinizer-ci.com/g/yiisoft/yii-bootstrap4/?branch=master)
[](https://scrutinizer-ci.com/g/yiisoft/yii-bootstrap4/?branch=master)
[](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/yii-bootstrap4/master)
[](https://github.com/yiisoft/yii-bootstrap4/actions?query=workflow%3A%22static+analysis%22)
[](https://shepherd.dev/github/yiisoft/yii-bootstrap4)### Installation
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
```
composer require yiisoft/yii-bootstrap4
```### Usage
For example, the following
single line of code in a view file would render a Bootstrap Progress plugin:```php
= Progress::widget()->percent('60')->label(test); ?>
```
Read [Documentation](docs/guide/README.md) for more information### Unit testing
The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
```shell
./vendor/bin/phpunit
```### Mutation testing
The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it:
```shell
./vendor/bin/infection
```### Static analysis
The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:
```shell
./vendor/bin/psalm
```### Support the project
[](https://opencollective.com/yiisoft)
### Follow updates
[](https://www.yiiframework.com/)
[](https://twitter.com/yiiframework)
[](https://t.me/yii3en)
[](https://www.facebook.com/groups/yiitalk)
[](https://yiiframework.com/go/slack)## License
The Yii Framework Twitter Bootstrap 4 Extension is free software. It is released under the terms of the BSD License.
Please see [`LICENSE`](./LICENSE.md) for more information.Maintained by [Yii Software](https://www.yiiframework.com/).