PHPackages                             guimcaballero/laravel-folders - 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. guimcaballero/laravel-folders

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

guimcaballero/laravel-folders
=============================

Folders to upload multiple number of files dynamically

0.1.0.x-dev(6y ago)143MITPHPPHP ^7.2.5CI failing

Since Apr 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/guimcaballero/laravel-folders)[ Packagist](https://packagist.org/packages/guimcaballero/laravel-folders)[ Docs](https://github.com/guimcaballero/laravel-folders)[ RSS](/packages/guimcaballero-laravel-folders/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Description
===========

[](#description)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d87fb08401b00c401eb090785ced6bca7a14565924be0895a881ad121f9008fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6775696d636162616c6c65726f2f6c61726176656c2d666f6c646572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guimcaballero/laravel-folders)[![Build Status](https://camo.githubusercontent.com/264c48b829e652325d532a1f4406747118e010ff884537fd6342f4d68b46a62a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6775696d636162616c6c65726f2f6c61726176656c2d666f6c646572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/guimcaballero/laravel-folders)[![Quality Score](https://camo.githubusercontent.com/6d4b81cd83ec0feca8d3b2f198ccdd6e6c176cbed86d5000de46bd7b1a003ca5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6775696d636162616c6c65726f2f6c61726176656c2d666f6c646572732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/guimcaballero/laravel-folders)[![Total Downloads](https://camo.githubusercontent.com/a1c39c580e3d034eedc697c24fb2df954dd918fe7e42e3a547b63024a49c4257/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6775696d636162616c6c65726f2f6c61726176656c2d666f6c646572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guimcaballero/laravel-folders)

This is a very simple package that implements Folders, where you can save as many files as you want to a model, while only having one column.

Folders behave just like a normal folder on you OS would, you can add, remove and list files. Adding files doesn't remove existing files.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require guimcaballero/laravel-folders
```

Then run the migrations:

```
php artisan migrate
```

Configuration
=============

[](#configuration)

You can publish the migrations with:

```
php artisan vendor:publish --provider="Guimcaballero\LaravelFolders\LaravelFoldersServiceProvider"
```

Example
-------

[](#example)

This is a simple use case where we want to be able to upload a list of important files in a User:

In App\\User:

```
