This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. The author suggests using the maslosoft/df-meta package instead.
File upload widgets
2.0.2 2018-01-24 19:12 UTC
This project have been merged into Document Foundation
composer require maslosoft/df-meta
<?php echo Toolbar::widget([ 'buttons' => [ 'class' => \Maslosoft\Upload\Button::class, 'name' => 'upload', 'url' => $this->createUrl('/content/asset/set'), 'formData' => [ 'parentId' => 'app.misc.selectedFolder' ], 'canUpload' => 'app.action.canUpload()', 'onDone' => 'app.action.listFolder' ] ]); ?>