How do I integrate File Manager (Ckeditor) with AWS S3?

Asked

Viewed 174 times

0

I’m using the CKEditor with the Laravel 5.3 and I need to save the images and files on S3 (AWS). On the part of Laravel is working, but in File Manager of CKEditor nay.

Can someone help me?

  • Friend, put the difficulty you are facing to carry out the implementation so that someone can instruct you in the solution.

  • The File Manager when installed in Laravel gives us a configuration file (lfm.php), when configuring it gives the following error: Fatal error: Uncaught Exception 'Runtimeexception' with message 'A facade root has not been set. The code: images_dir' => Storage::disk('s3')->url('ckfinder/userfiles/images'),
 'images_url' => Storage::disk('s3')->url('ckfinder/userfiles/images'),

 'files_dir' => Storage::disk('s3')->url('ckfinder/userfiles/files'),
 'files_url' => Storage::disk('s3')->url('ckfinder/userfiles/files'),

  • I’ve gone further than that, but I had to go through the File Manager controllers inside the Laravel vendor directory, but I don’t think that’s good. In the case of an update, for example, will give headache.

  • Just for the record, Façade is configured correctly, so much so that it works for the rest of the system: 'Storage' => Illuminate\Support\Facades\Storage::class,

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.