PHPackages                             mirbaagheri/metronic - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mirbaagheri/metronic

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mirbaagheri/metronic
====================

a library for using metronic theme in laravel 5

1.0.84(7y ago)143MITPHPPHP &gt;=5.4.0

Since Sep 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mostafamiri65/metronic)[ Packagist](https://packagist.org/packages/mirbaagheri/metronic)[ RSS](/packages/mirbaagheri-metronic/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)DependenciesVersions (12)Used By (0)

```
Attention: This package is beta. I'll complete this package in future.

```

---

Installation instructions :
---------------------------

[](#installation-instructions-)

1. composer require mirbaagheri/metronic
2. Add bellow line to `config/app.php` in section `providers`:

```
Mirbaagheri\Metronic\Laravel\MetronicServiceProvider::class

```

3. Add bellow lines to `config/app.php` in section `aliases`:

```
'Metronic'      => Mirbaagheri\Metronic\Laravel\Facades\Metronic::class,
'Sidebar'       => Mirbaagheri\Metronic\Laravel\Facades\Sidebar::class,
'PageHeader'    => Mirbaagheri\Metronic\Laravel\Facades\Header::class,

```

Publish config :
----------------

[](#publish-config-)

Use bellow command in your terminal to publish configuration file:

```
php artisan vendor:publish --provider="Mirbaagheri\Metronic\Laravel\MetronicServiceProvider"

```

Sample usage :
--------------

[](#sample-usage-)

Set default config:

```
Metronic::config([
            'minify'        => false,
            'pageDirection' => 'rtl',
            'layoutName'    => 'layout4',
            'layoutTheme'   => 'layout|darkblue'
        ]);

```

Load core plugins:

```
Metronic::loadLoad('plugin',['jquery','js.cookie','jquery-slimscroll','jquery.blockui']);

```

Load global mandatory styles:

```
Metronic::loadLoad('plugin',['font-awesome','simple-line-icons','bootstrap']);

```

Load page level plugins:

```
Metronic::loadLoad('plugin',['bootstrap-select','fuelux','bootstrap-touchspin']);

```

Load theme global styles:

```
Metronic::loadLoad('style',['components-md-rtl','plugins-md-rtl']);

```

Load theme global scripts:

```
Metronic::loadLoad('script',['app','components-bootstrap-select']);

```

load default dependency:

```
Metronic::defaultsLoad();

```

Load your custom css or js file:

```
Metronic::loadLoad('custom',[
            'head'  => [
                'link'  => [
                    0 =>[
                        'href' => [
                            'custom',
                            'css',
                            'your-custom1.css'
                        ],
                        'rel'   => 'stylesheet',
                        'type'  => 'text/css'
                    ],
                    1 =>[
                        'href' => [
                            'plugins',
                            'custom',
                            'your-custom2.css'
                        ],
                        'rel'   => 'stylesheet',
                        'type'  => 'text/css'
                    ]
                ],
                'script' => [
                    0 => [
                        'src' => [
                            'js',
                            'custom1.js'
                        ],
                        'type' => 'text/javascript'
                    ]
                ],
            ],
            'body'  => [
                'script'=> [
                    0 => [
                        'src' => [
                            'plugins',
                            'custom-js',
                            'customize1.js'
                        ],
                        'type' => 'text/javascript'
                    ],
                    1 => [
                        'src' => [
                            'js',
                            'your script.js'
                        ],
                        'type' => 'text/javascript'
                    ]
                ]
            ]
        ]);

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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.

###  Release Activity

Cadence

Every ~23 days

Recently: every ~56 days

Total

11

Last Release

2566d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65fbf3ca667966e73b41d4bc8d2ada3fa59bb486dd14af85e77644d45a3f8765?d=identicon)[Mostafa.miri65](/maintainers/Mostafa.miri65)

---

Top Contributors

[![mirbaagheri](https://avatars.githubusercontent.com/u/11602249?v=4)](https://github.com/mirbaagheri "mirbaagheri (13 commits)")[![mostafamiri65](https://avatars.githubusercontent.com/u/86527336?v=4)](https://github.com/mostafamiri65 "mostafamiri65 (2 commits)")

---

Tags

themebootstrapmetronicmirbaagheribootstrap-theme

### Embed Badge

![Health badge](/badges/mirbaagheri-metronic/health.svg)

```
[![Health](https://phpackages.com/badges/mirbaagheri-metronic/health.svg)](https://phpackages.com/packages/mirbaagheri-metronic)
```

###  Alternatives

[ttskch/select2-bootstrap4-theme

Select2 v4 theme for Bootstrap4

43424.6k2](/packages/ttskch-select2-bootstrap4-theme)[entidi/silverstrap

A Silverstripe theme based on Bootstrap front end framework

111.4k1](/packages/entidi-silverstrap)

PHPackages © 2026

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