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(9mo ago)02.1kPHP

Since Aug 8Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/hieunkvmms/webpress-command)[ Packagist](https://packagist.org/packages/hieunk/command)[ RSS](/packages/hieunk-command/feed)WikiDiscussions main Synced 1mo 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

35

—

LowBetter than 80% of packages

Maintenance57

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

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

284d 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

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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