Skip to content

MediaThor will help you setup your media workflow with the speed of lightning ⚡

License

Notifications You must be signed in to change notification settings

dystcz/mediathor

Repository files navigation

[WIP] MediaThor ⚡

MediaThor is a booster packages which makes it easy to get starting with media interactions throughout your project. Packed with sensible defaults and endless configurability.

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require dystcz/mediathor

Run the installer:

php artisan mediathor:install
You can also install manually:
# Publish MediaThor config
php artisan vendor:publish --provider="Dystcz\MediaThor\MediaThorServiceProvider" --tag="migrations"
          
# Publish Medialibrary config
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="config"

# Publish Medialibrary migrations
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"

# Publish Filepond config
php artisan vendor:publish --provider="Sopamo\LaravelFilepond\LaravelFilepondServiceProvider"

# Run migrations
php artisan migrate

Features

  • Filepond media upload
    • UploadController
  • Preconfigured Glide for image manipulations and Nuxt image
    • GlideImageController
  • Medialibrary with sensible defaults including:
    • Image conversions
    • Responsive images with srcset
    • MediaResource for your APIs
    • Automatic with and height as Media custom properties
    • MediaController

Everything is configurable in config/mediathor.php

Usage

# Usage

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email jakub@dy.st instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

MediaThor will help you setup your media workflow with the speed of lightning ⚡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages