Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-uploader maintained by pharaonic

Description
Laravel Uploader to upload files and handling visibility.
Last update
2026/02/23 01:21 (dev-main)
License
Links
Downloads
1 475

Comments
comments powered by Disqus

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.