Giter VIP home page Giter VIP logo

larupload's People

Contributors

hans-thomas avatar laravel-shift avatar mostafaznv avatar mpanius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

larupload's Issues

Exception on null file_meta column

Hey there,

I've noticed whenever file_meta column state was null or in general terms no file was uploaded for given model instance,

using:

$model->meta('column_name', 'duration')

would cause an exception as following:

#message: "First parameter must either be an object or the name of an existing class"
#code: 0
#file: "../src/Storage/Attachment.php"
#line: 430

Gnu

Hello,

I'm trying to upload video with this package.

but I faced problem

Error in GnuTLS initialization: Failed to acquire random data.

My Environment is:
Windows 10
Laravel 8
I download ffmpeg from this link:
https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip

and update config/larupload.php

'ffmpeg' => [
        'ffmpeg.binaries'  => 'C:/ffmpeg/bin/ffmpeg.exe',
        'ffprobe.binaries' => 'C:/ffmpeg/bin/ffprobe.exe',
    ],

What I can do?

Unable to upload webp

Whenever I try to upload webp images, I get this exception: Unable to decode image from file (/tmp/something)

Does this library support handling WebP? I checked my phpinfo and my GD is compiled with WebP support.

Cachable config

We use mostafaznv/nova-ckeditor which has worked great. We've recently ran into an issue where the php artisan optimize command fails as the config isn't serializable, which seems related to https://github.com/mostafaznv/larupload/blob/master/config/config.php#L158

php artisan optimize

   INFO  Caching the framework bootstrap files.

  config ................................................................................................................................. 35ms FAIL

   LogicException

  Your configuration files are not serializable.

  at vendor/laravel/framework/src/Illuminate/Foundation/Console/ConfigCacheCommand.php:73
     69▕             require $configPath;
     70▕         } catch (Throwable $e) {
     71▕             $this->files->delete($configPath);
     72▕
  ➜  73▕             throw new LogicException('Your configuration files are not serializable.', 0, $e);
     74▕         }
     75▕
     76▕         $this->components->info('Configuration cached successfully.');
     77▕     }

  1   bootstrap/cache/config.php:1718
      Error::("Call to undefined method Mostafaznv\Larupload\DTOs\Style\ImageStyle::__set_state()")
      +29 vendor frames

  31  artisan:35
      Illuminate\Foundation\Console\Kernel::handle()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.