PHPackages                             hieunk/command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. hieunk/command

ActiveLibrary[CLI &amp; Console](/categories/cli)

hieunk/command
==============

Hieunk Command

1.1.3(11mo ago)02.3kPHP

Since Aug 8Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/hieunkvmms/webpress-command)[ Packagist](https://packagist.org/packages/hieunk/command)[ RSS](/packages/hieunk-command/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (6)DependenciesVersions (10)Used By (0)

hieunk/command
==============

[](#hieunkcommand)

**hieunk/command** là một package Artisan CLI hỗ trợ phát triển cho hệ thống [Webpress CMS](https://github.com/webpress-cms).
Package này cung cấp các lệnh để:

- Tạo mới một Webpress Component.
- Duplicate một Component có sẵn trong core để tùy biến.

Cách sử dụng:
-------------

[](#cách-sử-dụng)

- php artisan make:webpress-component TestComponent --type=theme
- php artisan make:webpress-component TestComponent --type=app
- php artisan make:webpress-component TestComponent --type=webpress

🛠️ Cài đặt
----------

[](#️-cài-đặt)

```
composer require hieunk/command --dev
```

⚠️ Yêu cầu:

Laravel &gt;= 9.x

PHP &gt;= 8.1

Đã tích hợp Webpress CMS 📦 Các lệnh hỗ trợ

1. Tạo mới một component Webpress bash Sao chép Chỉnh sửa php artisan webpress:make-component {name} Tham số:

{name}: Tên component mới (Ví dụ: Banner, Slider...)

Chức năng:

Tạo một component mới với cấu trúc chuẩn trong thư mục components/{name}, bao gồm các file cơ bản như:

view.blade.php

config.php

preview.png

style.css (nếu cần)

Ví dụ:

bash Sao chép Chỉnh sửa php artisan make:webpress-component Banner 2. Duplicate một component từ core bash Sao chép Chỉnh sửa php artisan duplicate:webpress-component {component} {newName?} Tham số:

{component}: Tên component gốc trong webpress/core/components/

{newName?}: (Tuỳ chọn) Tên component mới. Nếu không truyền sẽ mặc định là {component}-custom.

Chức năng:

Sao chép một component có sẵn trong core sang thư mục components/ để bạn có thể chỉnh sửa mà không ảnh hưởng đến hệ thống gốc.

Ví dụ:

bash Sao chép Chỉnh sửa php artisan webpress:duplicate-component Hero BannerCustom Sẽ tạo ra components/BannerCustom từ core/components/Hero.

💬 Góp ý &amp; Đóng góp Mọi đóng góp hoặc phản hồi vui lòng gửi tại:

👉

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~52 days

Recently: every ~59 days

Total

8

Last Release

330d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/81848508?v=4)[Nguyễn Khắc Hiếu](/maintainers/hieunk178)[@hieunk178](https://github.com/hieunk178)

---

Top Contributors

[![hieunkvmms](https://avatars.githubusercontent.com/u/161451900?v=4)](https://github.com/hieunkvmms "hieunkvmms (21 commits)")[![ndmq-vmms](https://avatars.githubusercontent.com/u/196000098?v=4)](https://github.com/ndmq-vmms "ndmq-vmms (2 commits)")[![hieunk178](https://avatars.githubusercontent.com/u/81848508?v=4)](https://github.com/hieunk178 "hieunk178 (1 commits)")

### Embed Badge

![Health badge](/badges/hieunk-command/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

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