PHPackages                             d4rkstar/yii2-remark-asset - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. d4rkstar/yii2-remark-asset

ActiveYii2-extension[Framework](/categories/framework)

d4rkstar/yii2-remark-asset
==========================

Backend theme for Yii2 Framework

1285PHP

Since Nov 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/d4rkstar/yii2-remark-asset)[ Packagist](https://packagist.org/packages/d4rkstar/yii2-remark-asset)[ RSS](/packages/d4rkstar-yii2-remark-asset/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Remark Asset Bundle
===================

[](#remark-asset-bundle)

*Backend UI for Yii2 Framework, based on [Remark](http://getbootstrapadmin.com/remark/)*

This package contains an [Asset Bundle for Yii 2.0 Framework](http://www.yiiframework.com/doc-2.0/guide-structure-assets.html)which registers the required JS and CSS files for the Remark theme.

I've taken inspiration from [AdminLTE Yii2 Extension](https://github.com/dmstr/yii2-adminlte-asset)

*This extension is still work in progress*

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

To install Remark Asset run:

```
php composer.phar require d4rkstar/yii2-remark-asset "2.0.x-dev"

```

You've to unzip the contents of your remark theme inside the @webroot/remark folder. Check [Aliases](http://www.yiiframework.com/doc-2.0/guide-concept-aliases.html).

You should have a folder structure like this:

- app/
    - web/
        - remark/
            - base/
            - global/
            - iconbar/
            - mmenu/
            - topbar/

Quick Start
-----------

[](#quick-start)

Once the extension is installed, you can have a **preview** by reconfiguring the path mappings of the view component:

For Yii 2 [Application Template](https://github.com/yiisoft/yii2-app-advanced) or [Basic Application Template](https://github.com/yiisoft/yii2-app-basic)

Edit your config/web.php and add:

```
'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/d4rkstar/yii2-remark-asset/views'
             ],
         ],
    ],
],
```

Then change these in your configuration:

```
'components' => [
    'assetManager' => [
         'bundles' => [
              'd4rkstar\web\RemarkAsset' => [
                'skin' => 'orange',
              ],
              'yii\web\JqueryAsset' => [
                'sourcePath' => null,
                'js' => [
                    '//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js',
                ]
              ],
         ],
    ],
],
```

To speedup asset creation you may eventually you may use [symlinking](http://www.yiiframework.com/doc-2.0/guide-structure-assets.html#asset-publishing):

```
'components' => [
    'assetManager' => [
        'linkAssets' => true, // create symlinks
        'bundles' => [
            ...
         ],
    ],
],
```

You may add custom css / js for specific controller/action using the "addons" attribute.

```
'components' => [
    'assetManager' => [
        'linkAssets' => true, // create symlinks
        'bundles' => [
            'd4rkstar\web\RemarkAsset' => [
                // 'skin' => 'orange',
                'addons'=>[
                    // SiteController, actionLogin
                    'site/login'=>[
                        'css'=>[
                            'base/assets/examples/css/pages/login-v3.css'
                        ],
                        'js'=>[
                            'global/js/components/material.js'
                        ]
                    ]
                ]
            ],
         ],
    ],
],
```

This asset bundle provides sample files for layout and view (see folder `examples/`), they are **not meant to be customized directly in the `vendor/` folder**.

Therefore it is recommended to **copy the views into your application** and adjust them to your needs.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0621d4cadad42f999d6e1579c6de56833cde5cdb9a4387261e3392835d96d471?d=identicon)[d4rkstar](/maintainers/d4rkstar)

---

Top Contributors

[![d4rkstar](https://avatars.githubusercontent.com/u/4957015?v=4)](https://github.com/d4rkstar "d4rkstar (9 commits)")

### Embed Badge

![Health badge](/badges/d4rkstar-yii2-remark-asset/health.svg)

```
[![Health](https://phpackages.com/badges/d4rkstar-yii2-remark-asset/health.svg)](https://phpackages.com/packages/d4rkstar-yii2-remark-asset)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M290](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
