mostafaznv / larupload
Larupload is a ORM based file uploader for laravel to upload image, video, audio and other known files.
Installs: 171 622
Dependents: 3
Suggesters: 0
Security: 0
Stars: 54
Watchers: 2
Forks: 8
Open Issues: 3
Requires
- php: ^8.1
- ext-json: *
- ext-pdo: *
- imagine/imagine: ^1.3
- intervention/image: ^3.1.0
- ksubileau/color-thief-php: ^2.0
- laravel/framework: ^10.4.1|^11.0
- php-ffmpeg/php-ffmpeg: ^1.1
- spatie/image-optimizer: ^1.6
Requires (Dev)
- hashids/hashids: ^5.0
- league/flysystem-aws-s3-v3: ^3.0
- orchestra/testbench: ^8.0.11|^9.0
- pestphp/pest: ^2.2
- pestphp/pest-plugin-laravel: ^2.0
- spatie/pest-plugin-test-time: ^2.0
README
Larupload is a file uploader for Laravel, which is based on ORM and allows users to upload images
, videos
, audios
, and other known file formats.
With Larupload, you can easily upload your files, and it comes with interesting features for uploading videos, audios, and images.
One of the main advantages of using Larupload is that it leverages the Laravel filesystem. As a result, it is easy to switch between different drivers such as Local, SFTP, S3, and many others.
It offers many useful features, including the ability to resize, crop, and optimize uploaded images, as well as manipulate uploaded videos by resizing and cropping them, and creating HTTP Live Streaming (HLS) content from uploaded videos.
Moreover, Larupload can calculate the dominant colors of videos and images, as well as extract their width, height, and duration for videos and audio files
Some features for Larupload:
- Upload with 2 different strategies: ORM-based and Standalone
- Use different drivers
- Ability to resize/crop photos and videos
- Ability to create multiple sizes of videos and images
- Ability to create HTTP Live Streaming (HLS) from video sources
- Ability to hide the real ID of model records by using different ID formats (ULID, UUID and ...)
- Built-in support for optimizing images
- Extract the width and height of the image
- Extract width, height, and duration of the video
- Extract the duration of the audio
- Extract dominant color from the image and video
- Automatically create a cover image for video files
- Possibility to upload a cover for every file
- A specific function (column type) for creating database columns when running migration
- Get the URL of the uploaded file individually or as a set of "defined styles"
- Download response for each style
- Name files in several ways
- Supports Persian and Arabic for file naming
- Has 2 modes for storage: HEAVY (a big table with indexing) mode and LIGHT (it creates just 2 columns without any indexing)
- Queue FFMpeg processes and finish them in the background
- Official Laravel Nova integration
- Easy to use
Documentation
You can find installation instructions and detailed instructions on how to use this package at the dedicated documentation site.