PHPackages                             inewtonua/laravel-upload - 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. inewtonua/laravel-upload

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

inewtonua/laravel-upload
========================

Laravel file upload package

06Blade

Since Dec 2Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel file upload package
===========================

[](#laravel-file-upload-package)

Package is under development, do not use it
-------------------------------------------

[](#package-is-under-development-do-not-use-it)

В контроллер:
-------------

[](#в-контроллер)

```
```php
use Inewtonua\Upload\Models\Upload;
```

```php
Upload::setUploads($model, $request->uploads);
```

```

В view
------

[](#в-view)

```
```php

    @if($model->attachments['images_1']->first() && $model->attachments['images_1']->first()->getStyle('thumb'))

    @endif

```

```

Регенерация изображенией:
-------------------------

[](#регенерация-изображенией)

1. Модель и entity (можно без entity)

    ```
    artisan images:regenerate App/Models/Example/Example images
    ```
2. Ссылка на стиль:

    ```
    $model->attachments['head']->first()->getStyle('thumb');
    ```
3. Ссылка на оригинал:

    ```
    $model->attachments['head']->first()->getOriginalFileUrl();
    ```
4. Путь к оригиналу:

    ```
    ->getOriginalFilePath()
    ->getOriginalFileUrl()
    ```

TD: Размер файла в БД Диски Переделать так: При загрузке файл только загружается, один оригинальный, стили генерируются опционально. т.е. вынести генерацию стилей в отделный подпроцесс к которому можно обращаться в любой время на основе основного файла. Тогда в основной базе будут хранится данные оригинального файла, а в колонке styles его дочерние стили.

php artisan upload:remove

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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://www.gravatar.com/avatar/9e76932bca11767a0c842487cafee06199e21518f9ffd43ac6dc651056a55192?d=identicon)[Inewtonua](/maintainers/Inewtonua)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/inewtonua-laravel-upload/health.svg)

```
[![Health](https://phpackages.com/badges/inewtonua-laravel-upload/health.svg)](https://phpackages.com/packages/inewtonua-laravel-upload)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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