fojuth/plupload
Fork: 9 Star: 16 (更新于 2024-11-04 18:46:50)
license: GPL-3.0
Language: JavaScript .
A Laravel 4 implementation of Plupload (http://www.plupload.com/).
最后发布版本: 1.1 ( 2014-02-06 03:22:57)
Plupload for Laravel 5
A simple Laravel 5 implementation of Plupload. Makes uploading multiple files easy.
Template engine support
The package supports Twig and Blade templating engines.
Installation
- Install the package using Composer.
- Add
'Fojuth\Plupload\PluploadServiceProvider'
to the provider section inapp/config/app.php
. - (Twig only) Add
'Fojuth\Plupload\TwigExtension'
to Twig extensions inapp/config/packages/rcrowe/twigbridge/extensions.php
. - Publish the package's assets using this command:
php artisan publish:asset fojuth/plupload
. - You may wish to publish the config files, to override them:
php artisan publish:config fojuth/plupload
.
Usage
Twig
- Basic upload interface:
{{ plupload() }}
You can set multiple uploaders, if needed.
- Use a custom view, name the "browse" button (e.g. for JS) and specify the prefix for all the uploader's DOM elements:
{{ plupload($view_path, 'mah-button', 'uploader-1') }}
Blade
- Basic upload interface:
@plupload()
You can set multiple uploaders, if needed.
- Use a custom view, name the "browse" button (e.g. for JS) and specify the prefix for all the uploader's DOM elements:
@plupload($view_path, 'mah-button', 'uploader-1')
Support
The package is provided as is. If it breaks after some update - it breaks :)
Feedback
If you have any suggestions, questions feel free to contact me.
最近版本更新:(数据更新于 2024-09-18 07:21:53)
2014-02-06 03:22:57 1.1
fojuth/plupload同语言 JavaScript最近更新仓库
2024-11-22 22:33:12 ZeroRing233/Degrees-of-Lewdity-RobinMod
2024-11-22 16:46:00 meshery/meshery
2024-11-21 23:03:24 bia-pain-bache/BPB-Worker-Panel
2024-11-21 22:46:48 MHSanaei/3x-ui
2024-11-21 07:00:59 nodejs/node
2024-11-21 00:49:46 FortAwesome/Font-Awesome