Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yiirocks/svg-inline-bootstrap
Inline Bootstrap Icons for Yii
https://github.com/yiirocks/svg-inline-bootstrap
bootstrap bootstrap-icons extension icon icons inline inline-bootstrap-icons packagist svg yii yii3
Last synced: 26 days ago
JSON representation
Inline Bootstrap Icons for Yii
- Host: GitHub
- URL: https://github.com/yiirocks/svg-inline-bootstrap
- Owner: YiiRocks
- License: mit
- Created: 2020-07-24T23:02:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T13:58:27.000Z (over 1 year ago)
- Last Synced: 2024-10-10T21:41:18.905Z (26 days ago)
- Topics: bootstrap, bootstrap-icons, extension, icon, icons, inline, inline-bootstrap-icons, packagist, svg, yii, yii3
- Language: PHP
- Homepage: https://yii.rocks/svg-inline-bootstrap
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inline Bootstrap Icons for Yii
> **inline**
> ***/ˈɪnlʌɪn/***
> *adjective*
>
> included as part of the main text on a page, rather than in a separate sectionThis extension provides simple functions for [Yii framework 3.0](http://www.yiiframework.com/) applications to add
[Bootstrap](https://getbootstrap.com/) [Icons](https://icons.getbootstrap.com/) inline.[![Packagist Version](https://img.shields.io/packagist/v/yiirocks/svg-inline-bootstrap.svg)](https://packagist.org/packages/yiirocks/svg-inline-bootstrap)
[![PHP from Packagist](https://img.shields.io/packagist/php-v/yiirocks/svg-inline-bootstrap.svg)](https://php.net/)
[![Packagist](https://img.shields.io/packagist/dt/yiirocks/svg-inline-bootstrap.svg)](https://packagist.org/packages/yiirocks/svg-inline-bootstrap)
[![GitHub](https://img.shields.io/github/license/yiirocks/svg-inline-bootstrap.svg)](https://github.com/yiirocks/svg-inline-bootstrap/blob/master/LICENSE)## Installation
The package could be installed via composer:
```bash
composer require yiirocks/svg-inline-bootstrap
```## Usage
The default configuration will enable `$svg` in any view.
```php
echo $svg->bootstrap('award');
```Available options can be found in the [documentation](https://www.yii.rocks/svg-inline/bootstrap/).
## Unit testing
The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
```bash
./vendor/bin/phpunit
```[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/YiiRocks/svg-inline-bootstrap.svg)](https://codeclimate.com/github/YiiRocks/svg-inline-bootstrap/maintainability)
[![Codacy branch grade](https://img.shields.io/codacy/grade/1ac06a8fb1fe4d17ba208399381945e2/master.svg)](https://app.codacy.com/gh/YiiRocks/svg-inline-bootstrap)
[![Scrutinizer code quality (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/quality/g/yiirocks/svg-inline-bootstrap/master.svg)](https://scrutinizer-ci.com/g/yiirocks/svg-inline-bootstrap/?branch=master)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/yiirocks/svg-inline-bootstrap/analysis)