PHPackages                             tubocms/group-files - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. tubocms/group-files

ActiveLibrary[File &amp; Storage](/categories/file-storage)

tubocms/group-files
===================

Gộp các file thành 1

1.0.0(5y ago)04MITPHP

Since Dec 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hieunvph04479/group-files)[ Packagist](https://packagist.org/packages/tubocms/group-files)[ RSS](/packages/tubocms-group-files/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Hướng dẫn sử dụng
-----------------

[](#hướng-dẫn-sử-dụng)

**Giới thiệu**: Đây là Package Laravel được dùng để gộp các file lại với nhau.

### Cài đặt để sử dụng

[](#cài-đặt-để-sử-dụng)

- Để có thể sử dụng Package cần require theo lệnh `composer require tubocms/group-files`
- Để sử dụng thì cần phải set `config('filesystems.disks.local.root')` thành `public_path()`
- Publish các file cần thiết sử dụng `php artisan vendor:publish --tag=tubocms/group-files`

### Sử dụng

[](#sử-dụng)

**B1**: Trước khi gộp các file lại với nhau thì cần phải cấu hình các file cần gộp tại `config/TuboGroupFile.php` (Được publish từ trước). Nội dung và cách dùng sẽ được cấu hình như sau:

```
