Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keygenqt/yii2-breadcrumbs-panel
Panel with Breadcrumbs
https://github.com/keygenqt/yii2-breadcrumbs-panel
extensions yii2
Last synced: 11 days ago
JSON representation
Panel with Breadcrumbs
- Host: GitHub
- URL: https://github.com/keygenqt/yii2-breadcrumbs-panel
- Owner: keygenqt
- License: other
- Created: 2016-01-25T08:33:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T20:35:22.000Z (over 4 years ago)
- Last Synced: 2024-10-18T00:30:32.115Z (about 1 month ago)
- Topics: extensions, yii2
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
yii2-breadcrumbs-panel
===================Panel with Breadcrumbs. Made for my the admin panel on yii2.
## Installation
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either add
```
"require": {
"keygenqt/yii2-breadcrumbs-panel": "*"
}
```of your `composer.json` file.
## Latest Release
The latest version of the module is v0.5.0 `BETA`.
## Usage
Layouts
```php
use \keygenqt\breadcrumbsPanel\BreadcrumbsPanel;= BreadcrumbsPanel::widget([
'backLink' => false,
'homeLink' => false,
'content' => $content
]) ?>
```View
```php
use \keygenqt\breadcrumbsPanel\BreadcrumbsPanel;BreadcrumbsPanel::setParams([
[
'label' => 'Sample Post',
'url' => ['post/edit', 'id' => 1]
],
'Edit'
], 'fa fa-desktop');
```Controller (if use back page link)
```php
use \keygenqt\lastPage\LastPage;class BaseController extends LastPage
{
...
```## License
**yii2-breadcrumbs-panel** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.