PHPackages                             hoanghiep/template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. hoanghiep/template

ActiveLibrary[Templating &amp; Views](/categories/templating)

hoanghiep/template
==================

auto create blade in template blade on laravel

012HTML

Since Aug 20Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Tạo ra các file view theo mẫu bằng artisan trong cmd
====================================================

[](#tạo-ra-các-file-view-theo-mẫu-bằng-artisan-trong-cmd)

\#Cài đặt gói vào file composer.json

```
   "hoanghiep/template": "dev-master",
   "hoanghiep/library":"dev-master"

   Chạy lệnh : composer install

```

b2. Chạy lệnh cập nhập

```
composer dump-autoload

```

b3. Thêm dịch vụ trong config/app.php

```
'providers' => [
   /***** ****/
   Hoanghiep\Template\HoanghiepTemplateProvider::class,
   Hoanghiep\Library\HoanghiepLibraryProvider::class,
  ]

```

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

```
  php artisan vendor:publish

```

render :

```
[`\public\library`] => thư mục chứa các thư viện css + js + botstrap + databasetable javascript.

[`\config\hoanghiep.php`] => thư  mục khai báo nơi chứa file mẫu

[`\hoanghiep\blade`] => chứa các file views mẫu để sao chép

[`\app\Console\Commands\MakeViewCommand.php`] => thư mục chứa file lệnh artisan đã viết sẵn

[`\resources\views\layouts`] =>  chứa các file khung bố cục đã viết mẫu

[`\resources\views\content-static`] ==> chứa các file nội dung tĩnh như html + văn bản

```

b5. Cài đặt thư mục chứa các tập tin mẫu trong config/hoanghiep =&gt; blade:

mặc định là thư mục gốc hoanghiep/blade bạn có thể thiết lập nơi chứa các tập tin mẫu từ nơi khác nhưng yêu cầu file cùng tên.

```
  return [
      'balde' => "hoanghiep/blade", // thư mục chứa file blade mẫu
       "url_view"=>"resources/views" // nơi thư mục và file sẽ được tạo ra tiếp theo có thể đổi sang sang thư mục khác thư mục gốc
  ];

```

b6. Thêm lệnh artisan mới `App\Console\Kernel.php`

```
  thêm vào biến $commands

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

```

B7. Lệnh chạy tạo ra các blade theo file mẫu.

Cú pháp : php artisan make:view fooder1\_fooder\_2\_fooder\_3 --blade

```
  ===== Tạo ra các file trong  `resource/views/fooder1/fooder2/fooder3/blade` ====

  Lựa chọn các file cần tạo blade ==

 name blade ? [show_fields]:

  [0] create
  [1] edit
  [2] index
  [3] show
  [4] show_fields
  [5] table
  [6] all

```

>

==&gt; ok end !

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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 (5 commits)")

### Embed Badge

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

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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