PHPackages                             truongbo/uploadtolaravel - 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. truongbo/uploadtolaravel

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

truongbo/uploadtolaravel
========================

Upload documents to Laravel for Crawl

v1.0(4y ago)29MITPHP

Since Apr 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/truongbo17/uploadtolaravel)[ Packagist](https://packagist.org/packages/truongbo/uploadtolaravel)[ RSS](/packages/truongbo-uploadtolaravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

UploadToLaravel
---------------

[](#uploadtolaravel)

### Description

[](#description)

- Upload document from database or storage =))

### Installation

[](#installation)

- The library can be installed via Composer:

```
composer require truongbo/uploadtolaravel

```

### Configuration

[](#configuration)

- After UploadToLaravel has been installed, publish its configuration file using:

```
php artisan vendor:publish --provider="TruongBo\UploadToLaravel\UploadToLaravelServiceProvider"

```

- Config in `config/uploadtolaravel.php` :

    - Document storage table , two columns upload\_status and uploaded\_at will be added to this table

    ```
    'table' => env('UPLOAD_TO_LARAVEL_TABLE', 'crawl_urls')

    ```

    - Config host and token upload

    ```
    'upload' => [
        'host' => env('UPLOAD_TO_LARAVEL_HOST', '127.0.0.1'),
        'token' => env('UPLOAD_TO_LARAVEL_TOKEN', ''),
    ],

    ```

    - You should have a column to check if there is data

    ```
    'check_data' => 'data_status',

    ```

    - Select the columns where you want it to be uploaded

    ```
    'columns' => [
        'site',
        'url',
        'data_file',
    ],

    ```

    - If you store data in storage, set it to true

    ```
    'storage_data' => true

    ```

    **Note** : You need to specify the column to save data\_file and don't forget to add this column to the config columns above

    ```
    'data_file' => 'data_file'

    ```

    - Time upload (wait\_time must be greater than or equal to time\_limit)

    ```
    'time_limit' => 60, //The time that the host allows upload
    'wait_time' => 60, //Wait time upload then upload max request in per minute

    ```
- Finally, don't forget to run Laravel database migrations to add second columns upload\_status and uploaded\_at

```
php artisan migrate

```

### Usage

[](#usage)

- Run command :

```
php artisan upload:auto "App\Models\CrawlUrl" --limit=100

```

- `"App\Models\CrawlUrl"` : Your model want upload
- limit : Limit upload to host
- Add option --reload if you want to reupload
- You can add option host and token if you don't config it in `config/uploadtolaravel.php`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1497d ago

### Community

Maintainers

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

---

Top Contributors

[![truongbo17](https://avatars.githubusercontent.com/u/91400591?v=4)](https://github.com/truongbo17 "truongbo17 (10 commits)")

---

Tags

truongbouploadtolaravel

### Embed Badge

![Health badge](/badges/truongbo-uploadtolaravel/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k511.3M2.2k](/packages/aws-aws-sdk-php)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[uploadcare/uploadcare-php

Uploadcare PHP integration handles uploads and further operations with files by wrapping Upload and REST APIs.

1022.5M6](/packages/uploadcare-uploadcare-php)[azure-oss/storage

Azure Blob Storage PHP SDK

37985.0k5](/packages/azure-oss-storage)

PHPackages © 2026

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