https://github.com/niketpathak/fileuploadwithsymfonyanddropzone
Handling file upload with Symfony and a javascript lib like dropzone could not get easier. This tutorial shows the in-depth process of integrating these two
https://github.com/niketpathak/fileuploadwithsymfonyanddropzone
dropzone symfony tutorial
Last synced: 12 months ago
JSON representation
Handling file upload with Symfony and a javascript lib like dropzone could not get easier. This tutorial shows the in-depth process of integrating these two
- Host: GitHub
- URL: https://github.com/niketpathak/fileuploadwithsymfonyanddropzone
- Owner: niketpathak
- License: mit
- Created: 2017-09-27T12:19:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T13:51:29.000Z (over 7 years ago)
- Last Synced: 2025-03-21T06:41:43.279Z (about 1 year ago)
- Topics: dropzone, symfony, tutorial
- Language: PHP
- Homepage: https://digitalfortress.tech/js/js-file-upload-dropzone-symfony/
- Size: 53.7 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Symfony JS file upload tutorial
### Steps to follow:
1. Checkout this repository.
2. Execute **`composer install`** to install all Php dependencies
3. Execute **`bower install`** to install all JS dependencies
4. Execute **`php bin/console doctrine:schema:validate`** in the console to verify that everything is ok.
5. Execute **`php bin/console doctrine:schema:update --force`** to update the database. You can also use `php bin/console doctine:schema:update --dump-sql`
before this to see the Raw sql queries that will be executed.
6. Navigate to http://yourHost/projectDirectory/web/app_dev.php to test this in action.
Drag-drop any image file in the dropzone to upload it.
The Uploaded file should appear in `web/uploads/` directory.
Follow the detailed tutorial at [DigitalFortress](http://digitalfortress.tech/js/js-file-upload-dropzone-symfony/) in case you run into any errors.