简体   繁体   中英

Symfony3 file uploader

Welcome, I'm a little newbie in symfony but I wanna create website with upload file. I found good bundle https://github.com/SymfonyContrib/FileFieldBundle but when I try add it by composer then it's not possible becouse lastest correct Symfony version is 2.3. Anyone know how import it to Symfony3?

Or anyone have some bundle with file uploader based on jQuery File Upload working with Symfony3?

Thanks for help

You can't use that bundle unless the maintainer of the bundle migrates it to Symfony 3. In his composer.json the required symfony version is stated as ~2.3 which is equivalent to >=2.3 <3.0.0 ( composer version syntax ). You are of course free to fork the bundle on github and make the required changes yourself to make it compatible with Symfony 3 and issue a pull request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM