Open 3DUNAPI opened 6 years ago
this is how I did it: https://github.com/barryvdh/elfinder-flysystem-driver/issues/69
remember to install laravel aws-s3 filesystem. and keep all your keys in .env file, you don't want it to be in a public config file.
Thanks @og6k I don't have experience of Laravel but I will give it a try. I have been trying to piece this together for two days using the straight php version and haven't had much luck thus far.
@3DUNAPI , you can check this config example: https://github.com/bayucandra/ckeditor-elfinder/blob/master/vendor/elFinder/php/connector.minimal.php
Or clone full repo for a quick start: https://github.com/bayucandra/ckeditor-elfinder then put your S3 config to /vendor/elFinder/php/connector.minimal.php
for $aws_config
variable.
I have got all the dependancies installed with composer but I still cannot figure out how to configure my roots to get access to my S3 bucket. I am new to php so I don't fully understand how to implement it.
Here is what I have so far:
Please can someone point me in the right direction.