PHPackages                             pw/core - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. pw/core

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

pw/core
=======

Core pembantu untuk mempercepat dan mempermudah development aplikasi.

1.0(9y ago)0953MITHTMLPHP &gt;=5.6.4

Since Mar 9Pushed 9y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

PW Core
=======

[](#pw-core)

Ini adalah package core pembantu untuk mempercepat dan mempermudah development aplikasi.

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

[](#installation)

Mulailah dengan menginstal package melalui Composer.

```
composer require pw/core

```

Jika proses diatas sudah selesai, tambahkan class Service Provider dan Facade ke project anda pada file `config/app.php`

#### Service Provider

[](#service-provider)

```
Pw\Core\CoreServiceProvider::class,
Pw\Core\ThemesServiceProvider::class,
Pw\Core\TranslatableServiceProvider::class,
```

#### Facade

[](#facade)

```
'Module' => Pw\Core\Facades\Module::class,
'Theme' => Pw\Core\Facades\Theme::class,
```

Tambahkan juga middleware pada file `app/Http/Kernel.php`

#### Middleware

[](#middleware)

```
protected $middlewareGroups = [
    'web' => [
        ...
        \Pw\Core\Middleware\Language::class,
    ],
];
```

Setelah menambahkan `Service Provider`, `Facade`, dan juga `Middleware` jalankan script.

#### Publish Vendor Files

[](#publish-vendor-files)

```
php artisan vendor:publish

```

Jika sudah sudah berhasil mem-publish file vendor, silahkan ubah namespace model Role dan Permission pada file `config/entrust.php`.

#### Config

[](#config)

```
'role' => 'App\Role',
'permission' => 'App\Permission',
```

menjadi

```
'role' => 'App\Modules\Authorization\Models\Role',
'permission' => 'App\Modules\Authorization\Models\Permission',
```

Dan juga silahkan sesuaikan pengaturan yang lainnya.

Jika selesai langkah diatas, selanjutnya install core. Eksekusi script dibawah dan ikuti langkah.

#### Install Core

[](#install-core)

```
php artisan core:install

```

Itu dia core siap di pakai, silahkan seruput sejenak kopi anda dan mulailah berkreasi.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3355d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/920d39b6e68de47800457890effd4fe00b6f285bdcc70a9421e6b919f21dfd85?d=identicon)[purwadipw](/maintainers/purwadipw)

---

Top Contributors

[![PurwadiPw](https://avatars.githubusercontent.com/u/12653916?v=4)](https://github.com/PurwadiPw "PurwadiPw (31 commits)")

---

Tags

corecrudgeneratorlaravelmodularrbaclaravelgeneratorcorerbaccrudmodular

### Embed Badge

![Health badge](/badges/pw-core/health.svg)

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[casbin/laravel-authz

An authorization library that supports access control models like ACL, RBAC, ABAC in Laravel.

324339.9k4](/packages/casbin-laravel-authz)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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