PHPackages                             halimtuhu/array-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. halimtuhu/array-files

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

halimtuhu/array-files
=====================

A Laravel Nova field for distribute your files as array of object.

v1.0(7y ago)73.7k9[1 issues](https://github.com/halimtuhu/array-files/issues)[2 PRs](https://github.com/halimtuhu/array-files/pulls)MITVuePHP &gt;=7.1.0

Since Jan 12Pushed 5y agoCompare

[ Source](https://github.com/halimtuhu/array-files)[ Packagist](https://packagist.org/packages/halimtuhu/array-files)[ RSS](/packages/halimtuhu-array-files/feed)WikiDiscussions master Synced 2mo ago

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

Laravel Nova Field - Array Files
================================

[](#laravel-nova-field---array-files)

A laravel nova field that will let you save your uploaded files path to your database in array format.

Installation
============

[](#installation)

```
composer require halimtuhu/array-files

```

Usage
=====

[](#usage)

Create array files just call `Halimtuhu\ArrayFiles\ArrayFiles` class and use `make` static method to create a field.

```
...
use Halimtuhu\ArrayFiles\ArrayFiles;
...
public function fields(Request $request)
    {
        return [
            ...
            ArrayFiles::make('Files', 'files'),
            ...
        ];
    }
...

```

That will create a field with name `Files`. Stored data will look like this.

```
[{
    "url": "http://laranov.halimtuhu.test/storage/wB04AbprHGxHw4I3sizXmuw9L4LBcG0wv0QEacAo.pdf",
    "name": "wB04AbprHGxHw4I3sizXmuw9L4LBcG0wv0QEacAo.pdf"
}, {
    "url": "http://laranov.halimtuhu.test/storage/eOuxUCjHGNokkHdOXYB7gGObxCvf7m30ridFpBpy.pdf",
    "name": "eOuxUCjHGNokkHdOXYB7gGObxCvf7m30ridFpBpy.pdf"
}, {
    "url": "http://laranov.halimtuhu.test/storage/nLkZp4vfpATEp56NStJfeAtKoHvmN2hapfxoNrEN.doc",
    "name": "nLkZp4vfpATEp56NStJfeAtKoHvmN2hapfxoNrEN.doc"
}]

```

Available Methods
=================

[](#available-methods)

### Disk

[](#disk)

Specify disk target for uploaded images.

```
ArrayFiles::make('Files', 'files')
    ->disk('public'),

```

If not specified then the default disk will be used.

### Path

[](#path)

Specify target path for uploaded images.

```
ArrayFiles::make('Files', 'files')
    ->disk('public')
    ->path('files'),

```

If not specified then default path on selected disk will be used.

Notes
=====

[](#notes)

- make sure you have specified correct `APP_URL` on your application
- make sure you have specified default `FILESYSTEM_DRIVER` on your application

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2683d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbb8acb36f9522d70bb81757073d1183fc4ed97f75d388d59d6241fdba5eeb9b?d=identicon)[halimtuhu](/maintainers/halimtuhu)

---

Top Contributors

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

---

Tags

laravelarrayfilesnova

### Embed Badge

![Health badge](/badges/halimtuhu-array-files/health.svg)

```
[![Health](https://phpackages.com/badges/halimtuhu-array-files/health.svg)](https://phpackages.com/packages/halimtuhu-array-files)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[armincms/json

A Laravel Nova field.

25149.4k3](/packages/armincms-json)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[halimtuhu/array-images

A Laravel Nova field for distribute your images as array of object.

1441.2k](/packages/halimtuhu-array-images)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)

PHPackages © 2026

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