YII2 Startbootstrap-Agency Library
This extensions is library for Startbootstrap Stylish-Portofolio Themes, (*1)
Agency is a responsive, one page portfolio theme for Bootstrap created by Start Bootstrap. This theme features several content sections, a responsive portfolio grid with hover effects, full page portfolio item modals, a responsive timeline, and a working PHP contact form., (*2)
Start Bootstrap was created by and is maintained by David Miller, Owner of Blackrock Digital., (*3)
- https://twitter.com/davidmillerskt
- https://github.com/davidtmiller
Start Bootstrap is based on the Bootstrap framework created by Mark Otto and Jacob Thorton., (*4)
Installation
The preferred way to install this extension is through composer., (*5)
Either run, (*6)
composer require hoaaah/yii2-startbootstrap-agency:dev-master
or add, (*7)
"hoaaah/yii2-startbootstrap-agency": "*"
to the require section of your composer.json
file., (*8)
Usage
You can use an example views in views-example and copy it to your view., (*9)
Don't forget to use this in your view, (*10)
use hoaaah\agency\AgencyAsset;
AgencyAsset::register($this);
and just in case you want to use vendor image, to call any content of vendor image you can use this, (*11)
$image = hoaaah\agency\AgencyAsset::register($this);
<img src=<?= $agency->baseUrl.'/img/portfolio/startup-framework.png' ?> class="img-responsive" alt="">
it will call startup-framework.png from /vendor/hoaaah/yii2-startbootstrap-agency/assets/img/portofolio/startup-framework.png, (*12)
Creator
This startbootstrap-agency library for Yii2 was created by and is maintained by Heru Arief Wijaya., (*13)
- https://twitter.com/hoaaah
- https://github.com/hoaaah