shandyrov / yii2-shards-asset
AdminShards Asset Bundle for Backend Theme in Yii2 Framework
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.1.0
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2025-06-17 08:43:49 UTC
README
AdminSHARDS Asset Bundle for Backend Theme in Yii2 Framework
Installation
The preferred way to install this extension is through composer.
Either run
composer require shandyrov/yii2-shards-asset
or add
"shandyrov/yii2-shards-asset": "*"
to the require section of your composer.json
file.
Documentation
Visit the online documentation for the most updated guide.
Live demo
Quick Start
Once the extension is installed, you can have a preview by reconfiguring the path mappings of the view component:
For Yii 2 Advanced Application Template or Basic Application Template
'components' => [ 'view' => [ 'theme' => [ 'pathMap' => [ '@app/views' => '@vendor/shandyrov/yii2-shards-asset/src/examples/views/yii2' ], ], ], ],
This extension contains sample files for layout and viewing, they are not intended to be edited in the vendor / folder.
Therefore, it is recommended that you copy the views into your application and customize them according to your needs.
Customization
Copy files from vendor/shandyrov/yii2-shards-asset/src/examples/views/yii2 to @app/views
.
Edit your views.