New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

leadthread/laravel-upload

32

Larablocks Analysis

leadthread/laravel-upload works with Laravel 5 (latest release 2.0.0, Apr 20, 2017), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Apr 20, 2017)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 20, 2017.
  • No releases in the last 12 months.
  • First released: Jul 29, 2016.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.

Install
composer require leadthread/laravel-upload
Latest Version:2.0.0
Laravel:5
License:MIT
Last Updated:Dec 17, 2021
Links: GitHub  ·  Packagist
Maintainer: tylercd100

laravel-upload

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads

Installation

Install via composer - In the terminal:

composer require leadthread/laravel-upload

Now add the following to the providers array in your config/app.php

LeadThread\Upload\Providers\Upload::class

and this to the aliases array in config/app.php

"Upload" => "LeadThread\Upload\Facades\Upload",

Then you will need to run these commands in the terminal in order to copy the config and migration files

php artisan vendor:publish --provider="LeadThread\Upload\Providers\Upload"

Before you run the migration you may want to take a look at config/upload.php and change the table property to a table name that you would like to use. After that run the migration

php artisan migrate

Usage

To save the file to the disk and database:

function upload(Request $request)
{
	$file = $request->file('file');

	//Returns an Eloquent Model for the file
	$model = Upload::create($file);
}

Contributing

Contributions are always welcome!

Related Packages

tylercd100/laravel-licenser

Laravel - Define Licenses and Limitations

1,514 2
ont/laravel-uploader

Implementation of Ont\Interfaces\Uploader which saves files in local filesystem.

1,062

Version History

Version Released Laravel License
2.0.0 ^5.2.41 MIT
1.1.0 ^5.2.41 MIT
1.0.3 ^5.2.41 MIT
1.0.2 ^5.2.41 MIT
1.0.1 ^5.2.41 MIT