laradrop | File manager using Dropzone.js for Laravel 5.3 - 8.x - PHP | Build Tool library
kandi X-RAY | laradrop Summary
kandi X-RAY | laradrop Summary
This is a file manager using Dropzone.js for Laravel 5, 6, 7, 8. It provides basic functionality for managing, uploading, and deleting files.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of laradrop
laradrop Key Features
laradrop Examples and Code Snippets
Community Discussions
Trending Discussions on laradrop
QUESTION
After updating to Laravel 5.7, I'm all of a sudden experiencing this error when I push to my testing server: "ReflectionException: Class config does not exist".
I don't experience it in my dev environment.
I took the steps outlined here: Laravel Dusk - Class config does not exist
I don't have any spaces in my .env file -- I've gone through it line-by-line 4 times.
I'm not using Dusk for anything yet -- (side note that might be helpful to someone stumbling like I was: at first I ran into problems where Dusk was telling me not to use Dusk in prod. It turned out that was because my deployment scripts weren't moving my .env file - if no .env file exists it throws the same error.)
I'm running:
- PHP 7.1.26
- Laravel/Framework 5.7.24
- Laravel/Dusk 4.0
Composer.json:
...ANSWER
Answered 2019-Jan-30 at 22:37After three days of racking my brain, I figured out my dumb mistake and thought I'd share.
My situation was this:
- I had previously committed the vendor folder to my repo because I was deploying from my repo without a build step.
- I now have a deployment pipeline set up that compiles and deploys my code when I commit to specific branches.
- I have
composer update
as a command within that pipeline, so decided it was time to follow best practices and add/vendor
to my.gitignore
file. - I did not delete the
/vendor
folder from my repo before adding it to my.gitignore
file. - This resulted in the
/vendor
folder getting locked into my repo, and not deleted from it.
I had taken all kinds of actions trying to figure out what was going on with no luck. I tried downloading the version that was on the server onto my local machine, and ran into the same problem.
TL;DR:
Finally, I stumbled across something that recommended to simply delete the /vendor
folder, and then run composer install
to refresh the whole vendor folder. That did the trick for me anyway. It seems like the error message for this particular problem isn't very guiding, but that's probably because no one expected anyone to be so dumb as to completely disregard the guidance of "don't commit the/vendor
folder to your repo". So it seemed to be stemming from a dependency mismatch that wasn't getting resolved on composer update
for my scenario.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laradrop
Follow the Installation instructions below. Getting errors? Make sure you have a database set up (https://laravel.com/docs/database).
In a view (welcome.blade.php, for example), add:
In your .env file, add:
In your config/filesystems.php, add to your disks array:
NOTE: If you haven't set up a database yet for your app, please do that first as per Laravel docs - http://laravel.com/docs/database. Then in your config/app.php add. to the providers array.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page