PHPackages                             bantenprov/portal-layanan - 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. bantenprov/portal-layanan

ActiveLibrary

bantenprov/portal-layanan
=========================

Nama layanan

0133Vue

Since Mar 29Pushed 8y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Layanan
=======

[](#layanan)

[![Join the chat at https://gitter.im/layanan/Lobby](https://camo.githubusercontent.com/c2591c98f72220f0169cd0f2673842434afc84bc9a0d74e966c1efbda4525e8d/68747470733a2f2f6261646765732e6769747465722e696d2f6c6179616e616e2f4c6f6262792e737667)](https://gitter.im/layanan/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d137db87ca477e094e11c0bf6d9861b66d2813bcfd0d35843895dcc9237cdd24/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62616e74656e70726f762f6c6179616e616e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bantenprov/layanan/?branch=master)[![Build Status](https://camo.githubusercontent.com/ef6133773152acd5f56443474b86fd04bf6ebdf74271809754dc602d7d325f09/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62616e74656e70726f762f6c6179616e616e2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bantenprov/layanan/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/908a746a54b549fe2ac76484fe91eb88f876ad7aa621ee75b9816fd4bad8042c/68747470733a2f2f706f7365722e707567782e6f72672f62616e74656e70726f762f6c6179616e616e2f762f737461626c65)](https://packagist.org/packages/bantenprov/layanan)[![Total Downloads](https://camo.githubusercontent.com/5934b65f704d8841b1e26bbe61a9112b6a14cdd654d6b5eb90674ac997c5ad0b/68747470733a2f2f706f7365722e707567782e6f72672f62616e74656e70726f762f6c6179616e616e2f646f776e6c6f616473)](https://packagist.org/packages/bantenprov/layanan)[![Latest Unstable Version](https://camo.githubusercontent.com/0f3c451246d49fc9cffad95b9afe98af6c8ce3646ae645c98cd263f76bed94fc/68747470733a2f2f706f7365722e707567782e6f72672f62616e74656e70726f762f6c6179616e616e2f762f756e737461626c65)](https://packagist.org/packages/bantenprov/layanan)[![License](https://camo.githubusercontent.com/7abb5311c620dbab5b0a47581f4ede97c2f151da488dde2e38e0b0103d46251f/68747470733a2f2f706f7365722e707567782e6f72672f62616e74656e70726f762f6c6179616e616e2f6c6963656e7365)](https://packagist.org/packages/bantenprov/layanan)[![Monthly Downloads](https://camo.githubusercontent.com/a68828b5832388e72426191794cdce5b2eb74a6846f6f2d92c2887f08433e39c/68747470733a2f2f706f7365722e707567782e6f72672f62616e74656e70726f762f6c6179616e616e2f642f6d6f6e74686c79)](https://packagist.org/packages/bantenprov/layanan)[![Daily Downloads](https://camo.githubusercontent.com/93ed2a847c646a7f0297794031a9f98132e15491ed65fea59f6ff0d2fa2302dc/68747470733a2f2f706f7365722e707567782e6f72672f62616e74656e70726f762f6c6179616e616e2f642f6461696c79)](https://packagist.org/packages/bantenprov/layanan)

Layanan

### Install via composer

[](#install-via-composer)

- Development snapshot

```
$ composer require bantenprov/layanan:dev-master
```

- Latest release:

```
$ composer require bantenprov/layanan
```

### Download via github

[](#download-via-github)

```
$ git clone https://github.com/bantenprov/layanan.git
```

#### Edit `config/app.php` :

[](#edit-configappphp-)

```
'providers' => [

    /*
    * Laravel Framework Service Providers...
    */
    Illuminate\Auth\AuthServiceProvider::class,
    Illuminate\Broadcasting\BroadcastServiceProvider::class,
    Illuminate\Bus\BusServiceProvider::class,
    Illuminate\Cache\CacheServiceProvider::class,
    Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
    Illuminate\Cookie\CookieServiceProvider::class,
    //....
    Bantenprov\Layanan\LayananServiceProvider::class,
```

#### Lakukan migrate :

[](#lakukan-migrate-)

```
$ php artisan migrate
```

#### Publish database seeder :

[](#publish-database-seeder-)

```
$ php artisan vendor:publish --tag=layanan-seeds
```

#### Lakukan auto dump :

[](#lakukan-auto-dump-)

```
$ composer dump-autoload
```

#### Lakukan seeding :

[](#lakukan-seeding-)

```
$ php artisan db:seed --class=BantenprovLayananSeeder
```

#### Lakukan publish component vue :

[](#lakukan-publish-component-vue-)

```
$ php artisan vendor:publish --tag=layanan-assets
$ php artisan vendor:publish --tag=layanan-public
```

#### Tambahkan route di dalam file : `resources/assets/js/routes.js` :

[](#tambahkan-route-di-dalam-file--resourcesassetsjsroutesjs-)

```
function layout(name) {
  return function(resolve) {
    require(['./layouts/' + name + '.vue'], resolve);
  }
}

let routes = [
  {
    path: '/',
    name: 'home',
    component: resolve => require(['./components/views/Home.vue'], resolve),
  },
   //==...

  {
    path: '/layanan/:id',
    name: 'home',
    component: resolve => require(['./components/bantenprov/layanan/Layanan.show.vue'], resolve),
    meta: {
        title: "Portal Layanan"
    }
  },

  //==..

  {
    path: '/sign-in',
    name: 'sign-in',
    component: resolve => require(['./components/views/SignIn.vue'], resolve),
    meta: {
      title: "Sign in"
    }
  },
```

```
{
    path: '/dashboard',
    redirect: '/dashboard/home',
    component: layout('Default'),
    children: [
        //== ...
        {
         path: '/dashboard/layanan',
         components: {
            main: resolve => require(['./components/views/bantenprov/layanan/DashboardLayanan.vue'], resolve),
            navbar: resolve => require(['./components/Navbar.vue'], resolve),
            sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
          },
          meta: {
            title: "Portal Layanan"
           }
       },
        //== ...
    ]
},
```

```
{
    path: '/admin',
    redirect: '/admin/dashboard/home',
    component: layout('Default'),
    children: [
        //== ...
        {
            path: '/admin/layanan',
            components: {
                main: resolve => require(['./components/bantenprov/layanan/Layanan.index.vue'], resolve),
                navbar: resolve => require(['./components/Navbar.vue'], resolve),
                sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
            },
            meta: {
                title: "Portal Layanan"
            }
        },
        {
            path: '/admin/layanan/create',
            components: {
                main: resolve => require(['./components/bantenprov/layanan/Layanan.add.vue'], resolve),
                navbar: resolve => require(['./components/Navbar.vue'], resolve),
                sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
            },
            meta: {
                title: "Add Portal Layanan"
            }
        },
        {
            path: '/admin/layanan/:id/edit',
            components: {
                main: resolve => require(['./components/bantenprov/layanan/Layanan.edit.vue'], resolve),
                navbar: resolve => require(['./components/Navbar.vue'], resolve),
                sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
            },
            meta: {
                title: "Edit Portal Layanan"
            }
        },
        //== ...
    ]
},
```

#### Edit menu `resources/assets/js/menu.js`

[](#edit-menu-resourcesassetsjsmenujs)

```
{
    name: 'Dashboard',
    icon: 'fa fa-dashboard',
    childType: 'collapse',
    childItem: [
        //== ...
        {
        name: 'Portal Layanan',
        link: '/dashboard/layanan',
        icon: 'fa fa-angle-double-right'
        },
        //== ...
    ]
},
```

```
{
    name: 'Admin',
    icon: 'fa fa-lock',
    childType: 'collapse',
    childItem: [
        //== ...
        {
        name: 'Portal Layanan',
        link: '/admin/layanan',
        icon: 'fa fa-angle-double-right'
        },
        //== ...
    ]
},
```

#### Tambahkan components `resources/assets/js/components.js` :

[](#tambahkan-components-resourcesassetsjscomponentsjs-)

```
//== Layanan

import Layanan from './components/bantenprov/layanan/Layanan.chart.vue';
Vue.component('echarts-layanan', Layanan);

import LayananKota from './components/bantenprov/layanan/LayananKota.chart.vue';
Vue.component('echarts-layanan-kota', LayananKota);

import LayananTahun from './components/bantenprov/layanan/LayananTahun.chart.vue';
Vue.component('echarts-layanan-tahun', LayananTahun);

import LayananAdminShow from './components/bantenprov/layanan/LayananAdmin.show.vue';
Vue.component('admin-view-layanan-tahun', LayananAdminShow);

//== Echarts Group Egoverment

import LayananBar01 from './components/views/bantenprov/layanan/LayananBar01.vue';
Vue.component('layanan-bar-01', LayananBar01);

import LayananBar02 from './components/views/bantenprov/layanan/LayananBar02.vue';
Vue.component('layanan-bar-02', LayananBar02);

//== mini bar charts
import LayananBar03 from './components/views/bantenprov/layanan/LayananBar03.vue';
Vue.component('layanan-bar-03', LayananBar03);

import LayananPie01 from './components/views/bantenprov/layanan/LayananPie01.vue';
Vue.component('layanan-pie-01', LayananPie01);

import LayananPie02 from './components/views/bantenprov/layanan/LayananPie02.vue';
Vue.component('layanan-pie-02', LayananPie02);

//== mini pie charts

import LayananPie03 from './components/views/bantenprov/layanan/LayananPie03.vue';
Vue.component('layanan-pie-03', LayananPie03);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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/811618334e937542bb0d5723158e05de7445bb5e8851ce086d6cc7a7c0146166?d=identicon)[bantenprov](/maintainers/bantenprov)

---

Top Contributors

[![andri-sudarmawijaya](https://avatars.githubusercontent.com/u/28795941?v=4)](https://github.com/andri-sudarmawijaya "andri-sudarmawijaya (10 commits)")[![fadika06](https://avatars.githubusercontent.com/u/33959624?v=4)](https://github.com/fadika06 "fadika06 (3 commits)")[![bantenprov](https://avatars.githubusercontent.com/u/28588981?v=4)](https://github.com/bantenprov "bantenprov (1 commits)")

### Embed Badge

![Health badge](/badges/bantenprov-portal-layanan/health.svg)

```
[![Health](https://phpackages.com/badges/bantenprov-portal-layanan/health.svg)](https://phpackages.com/packages/bantenprov-portal-layanan)
```

PHPackages © 2026

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