hans-thomas/alicia

it's a uploader and converter for pictures and videos

v1.1.0 2023-10-14 16:05 UTC

This package is auto-updated.

Last update: 2024-04-25 16:56:14 UTC


README

alicia banner

codecov GitHub Workflow Status GitHub top language GitHub release (latest by date) StyleCi

It's a file uploader and manager with below features:

  • Upload any file type in single or batch mode
  • Store external files
  • HLS support
  • Collect file's details automatically
  • Classification for uploaded files
  • Optimization for images and videos
  • Export images in different resolution

for more information see documentation.

Installation

Install the package via composer

composer require hans-thomas/alicia

Then, publish config file using

php artisan vendor:publish --tag alicia-config

In the end, use AliciaHandler trait on your model.

use Hans\Alicia\Traits\AliciaHandler;
use Illuminate\Database\Eloquent\Model;

class Post extends Model {
    use AliciaHandler;
    
    // ...
}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request ❤️

Support