PHPackages                             hoanghiep/controller - 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. [Framework](/categories/framework)
4. /
5. hoanghiep/controller

ActiveLibrary[Framework](/categories/framework)

hoanghiep/controller
====================

create controller in laravel --method all

07PHP

Since Aug 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/thandonguocmo2020/make-controller-laravel)[ Packagist](https://packagist.org/packages/hoanghiep/controller)[ RSS](/packages/hoanghiep-controller/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

make-controller-laravel
=======================

[](#make-controller-laravel)

tạo controller từ file controller mẫu

Cài đặt

composer require hoanghiep/controller "dev-master"

b2. Chạy lệnh composer

composer dump-autoload

b3. Đăng ký một dịch vụ mới config/app.php

'providers' =&gt; \[ /\*\*\*\*\* \*\*\*\*/ Hoanghiep\\Controller\\HoanghiepControllerProvider::class, \]

b4. Chạy lệnh xuất bản các tập tin cần thiết

php artisan vendor:publish render :

file\_1 : `config/hoanghiep.php` =&gt; config path class controller old and controller new file\_2 : `app/console/Commands/ControllerCommand.php` =&gt; setting artisan. file\_3 : `hoanghiep/controller/template` =&gt; layout

b5. Thiết lập chuẩn bị tập tin controller mẫu :

Vào config/hoanghiep.php

template\_controller\_old =&gt; file controlller mẫu để sao chép function và method :

namespace\_old =&gt; namespace tìm kiếm trong template\_controller\_old để thay thế.

class\_controller\_old =&gt; name class file mẫu template\_controller\_old để tìm kiếm thay thế

namespace\_news =&gt; nơi file controller sẽ được tạo ra.

b6. thêm lệnh arrtisan vào App\\Console\\Kernel.php

thêm class Commands\\ControllerCommand::class trong protected $commands

```
protected $commands = [
    // Commands\Inspire::class,
     Commands\ControllerCommand::class
];

```

b7: Chạy lệnh để tạo ra một file controller mới giống như controller mẫu.

syntax artisan :

php artisan make:controllers name\_class

Namespace == config/hoanghiep.php =&gt; namespace\_news

1 file controller == `namespace_news/name_class`

END. một file controller mới được tạo ra giống với file controller mẫu.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8016818?v=4)[thandonguocmo2020](/maintainers/thandonguocmo2020)[@thandonguocmo2020](https://github.com/thandonguocmo2020)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hoanghiep-controller/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M290](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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