Uploader: Upload once, serve it right
Uploader stores every upload on the Laravel disk you choose, under an unguessable hashed name, and keeps a record of it in an uploads table. You get the right URL for each file, whether it lives on a local disk, a public disk, or a private S3 bucket, plus image thumbnails and visibility changes in one call. It is AI ready: php artisan boost:install teaches your coding agent the whole package through Laravel Boost.
Compatibility
Each line is released for the versions in its row, read from that release's composer.json. Pick the line that matches your project; a combination not listed isn't supported. Find the right line of every package for your project.
| Line | Latest release | PHP | Laravel | Status | Docs |
|---|---|---|---|---|---|
| v13.x | v13.3.1 Nov 29, 2026 | 8.3 – 8.5 | 13 | Current | Docs: Read the v13.x docs |
| v12.x | v12.2.1 Nov 29, 2026 | 8.2 – 8.5 | 12 | Maintained | Docs: Read the v12.x docs |
| v11.x | v11.2.1 Nov 29, 2026 | 8.2 – 8.4 | 11 | MaintainedLaravel 11 no longer gets security fixes | Docs: Read the v11.x docs |
| v10.x | v10.2.1 Nov 29, 2026 | 8.1 – 8.3 | 10 | MaintainedLaravel 10 no longer gets security fixes | Docs: Read the v10.x docs |
| v9.x | v9.1.1 Nov 29, 2026 | 8.0 – 8.2 | 9 | MaintainedLaravel 9 no longer gets security fixes | Docs: Read the v9.x docs |
| v8.x | v8.1.1 Nov 29, 2026 | 8.0 – 8.1 | 8 | MaintainedLaravel 8 no longer gets security fixes | Docs: Read the v8.x docs |
| v7.x | v7.1.1 Nov 29, 2026 | 8.0 | 7 | MaintainedLaravel 7 no longer gets security fixes | Docs: Read the v7.x docs |
| v6.x | v6.2.1 Nov 29, 2026 | 8.0 | 6 | MaintainedLaravel 6 no longer gets security fixes | Docs: Read the v6.x docs |
Maintenance
- Latest release
- v13.3.1
- Nov 29, 2026 (2 days ago)
From the package's releases and its GitHub Actions. A passing run means the test suite passed on develop, on every PHP version it supports; it isn't a security review, and each release line has its own runs on GitHub. Checked hourly.
A quick look
Store an avatar with a thumbnail and keep its hash on the user.
1public function update(Request $request) 2{ 3 $upload = upload($request->file('avatar'), [ 4 'path' => 'avatars', 5 'thumbnail' => ['width' => 200, 'ratio' => true], 6 ]); 7 8 $request->user()->update(['avatar' => $upload->hash]); 9 10 return ['url' => $upload->url, 'thumbnail' => $upload->thumbnail->url];11}Everything you need to handle uploads
Pass a file to `upload()` and get back a model that knows its URL, size and thumbnail.
Any Disk
Store on local, public, s3 or any disk from config/filesystems.php, per upload or by default.
Hashed File Names
Every file gets a random 67-character hash, so its name and URL cannot be guessed.
Image Processing
Resize, compress and convert images while they upload, with an optional thumbnail.
Thumbnails
A resized copy of each image, by width, height or both, linked as $upload->thumbnail.
Video and Audio
Transcode videos and audio with FFmpeg on your queue, with a status on every upload.
The Right URL
$upload->url returns a route for local files, a temporary URL for private S3 files, and the disk URL otherwise.
Safe File Route
Local files stream without sessions or cookies, with nosniff, and risky types are sent as downloads.
Safe Deletes
Files are deleted only once their deletion commits, and an upload that rolls back leaves no file behind.
AI Ready
Ships a Laravel Boost guideline and an uploader-development skill, so php artisan boost:install teaches Claude Code, Cursor, Codex or Copilot the whole API.
Resources
- DocumentationInstallation, configuration and every API, per version.
- Source on GitHubRead the code, star it, or watch for releases.
- PackagistVersions and install statistics.
- Release notesWhat changed in each release.
- Report an issueFound a bug or missing a feature? Tell us.
- ContributeOpen a pull request; every contributor is credited.
Uploader Questions
Quick answers about installing and using Uploader.
What is Uploader?
Upload files to any Laravel disk with hashed names, image thumbnails, visibility control and secure URLs, through a facade, helpers and an Eloquent model. It's a free, open-source Laravel package by Pharaonic.
How do I install Uploader?
Run composer require pharaonic/laravel-uploader in your project's root directory, then php artisan migrate to create the uploads table.
What does Uploader require?
The latest release requires PHP 8.3 – 8.5 and Laravel 13. Thumbnails also need the GD or Imagick extension.
Does it need FFmpeg?
Only for video and audio processing. Without it, every other upload works, and asking for video or audio processing throws a clear exception before anything is stored. Image processing uses GD or Imagick.
Does it work with Amazon S3?
Yes. Upload to any S3 disk, set each file's visibility, and private files get temporary URLs that expire after the minutes you configure.
Can anyone open a file on a local disk?
Local files are served by the package route to anyone holding the URL. The URL contains a random 67-character hash, so it cannot be guessed, but treat it like a share link. Use a private S3 disk for files that need expiring access.
Is Uploader free to use?
Yes. Uploader is open source under the MIT license, so you can use it in personal and commercial projects.
Where can I find the Uploader documentation?
Read the Uploader documentation for setup, configuration, and usage examples.
How do I report a bug or contribute to Uploader?
Open an issue or a pull request on GitHub, or ask in the Pharaonic Discord.
Ready to dig in?
Read the full documentation for installation, configuration, upload options, thumbnails, image processing, video and audio processing, URLs and visibility, the file route, and the complete API reference.