Search by

pharaonic / laravel-uploader

Pharaonic

Upload files to any Laravel disk with hashed names, image thumbnails, visibility control and secure URLs.

Package info

github.com/Pharaonic/laravel-uploader

Documentation

pkg:composer/pharaonic/laravel-uploader

Fund package maintenance!

MoamenEltouny

Buy Me A Coffee

Statistics

Installs: 1 480

Dependents: 2

Suggesters: 0

Stars: 4

Open Issues: 0

13.1.0 2026-11-06 10:43 UTC

README

PHP Version : 8.3 | 8.4 | 8.5 Laravel Version : 13.x License Build
Source Packagist Version Packagist Downloads

Upload files to any Laravel disk with hashed names, image thumbnails, visibility control and secure URLs.


Installation

composer require pharaonic/laravel-uploader
php artisan migrate

The service provider is registered automatically. Publish the configuration when you need to change it:

php artisan vendor:publish --tag=uploader-config

Usage

$upload = upload($request->file('avatar'), [
    'path' => 'avatars',
    'thumbnail' => ['width' => 200, 'ratio' => true],
]);

$upload->url;             // file URL, or a temporary URL for private S3 files
$upload->thumbnail->url;  // thumbnail URL
uploaded($upload->hash);  // find it again by hash

Documentation

Full documentation: Laravel Uploader Documentation.

Support & Security

See SUPPORT.md and SECURITY.md. Contributions are welcome; see CONTRIBUTING.md.

License

MIT. See LICENSE.