PHPackages                             walkerchiu/php-core-int - 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. walkerchiu/php-core-int

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

walkerchiu/php-core-int
=======================

v1.3.0(1y ago)03520MITPHPPHP ^7.4|^8.1

Since Sep 29Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/walkerchiu/php-core-int)[ Packagist](https://packagist.org/packages/walkerchiu/php-core-int)[ RSS](/packages/walkerchiu-php-core-int/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (20)

php-core-int
============

[](#php-core-int)

php-core-int is a Laravel library for dealing with general common settings.

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/download/) to install php-core-int.

```
# CLI

composer require walkerchiu/php-core-int
```

Usage
-----

[](#usage)

### Package settings

[](#package-settings)

```
# CLI

# Publish this package settings
php artisan vendor:publish

# Overwrite default settings
vi config/wk-core.php

# Overwrite translations
cd resources/lang/vendor/php-core
vi ...

# Overwrite views
cd resources/views/vendor/php-core
vi ...

# See migrations
cd database/migrations
cat ...
```

### Core settings

[](#core-settings)

```
# CLI

# Overwrite default settings
vi config/wk-core.php

# See class section
# See table section
```

### Migrations

[](#migrations)

```
# CLI

# Generate a database migration
php artisan make:migration

# Run all of your outstanding migrations
php artisan migrate

# See which migrations have run thus far
php artisan migrate:status
```

### How to use

[](#how-to-use)

#### Entity

[](#entity)

In fact, this usage is not limited to Entity, and other usages such as Repository and Service are also similar.

You can view the source code to understand the methods provided by these classes.

```
# PHP

# Use directly
# You can find more settings in config/wk-core.php
use WalkerChiu\Core\Models\Entities\Log

Log::all();
```

```
# PHP

# Use core setting
# You can find more settings in config/wk-core.php
use Illuminate\Support\Facades\App;

App::make(config('wk-core.class.core.log'));
```

#### Middleware

[](#middleware)

```
# PHP

# route.php

# You can find more information in Middleware folder
use Illuminate\Support\Facades\Route;

Route::group(['middleware' => ['wkCommon']], function() {
    # ...
});
```

### Useful commands

[](#useful-commands)

```
# CLI

# Truncate all tables that you specify
php artisan command:Cleaner

# Truncate all logging tables in this package
php artisan command:LogCleaner
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance51

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community19

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

Every ~279 days

Total

4

Last Release

487d ago

PHP version history (2 changes)v1.0.0PHP ^7.3

v1.1.0PHP ^7.4|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/efbf4937c48dde07bb324867940ef4590b3618bc35847212195ea826ca3cb168?d=identicon)[walkerchiu](/maintainers/walkerchiu)

---

Top Contributors

[![walkerchiu](https://avatars.githubusercontent.com/u/10693648?v=4)](https://github.com/walkerchiu "walkerchiu (16 commits)")

### Embed Badge

![Health badge](/badges/walkerchiu-php-core-int/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k74.6k86](/packages/pocketmine-pocketmine-mp)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)

PHPackages © 2026

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