Перейти к содержанию

Состав платформы

Загрузчик файлов

Загрузка файлов без перезагрузки страницы.

Другие решения раздела «Состав платформы»

Установка

Подключите пакет в корне проекта на SkeekS Платформе, затем примените миграции проекта.

composer require skeeks/yii2-widget-simpleajaxuploader

Зависимости

Инструкция из репозитория

A Javascript plugin for cross-browser Ajax file uploading. Supports multiple file uploading with progress bars.

Javascript plugin for cross-browser Ajax file uploading with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.

Installation

The preferred way to install this extension is through composer. Full api https://www.lpology.com/code/ajaxuploader/docs.php Either run

php composer.phar require --prefer-dist skeeks/yii2-widget-simpleajaxuploader "*"

or add

"skeeks/yii2-widget-simpleajaxuploader": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php
namespace bla\bla;
use skeeks\widget\simpleajaxuploader\Widget;

echo Widget::widget({
      "clientOptions" =>
      [
          "name" => ""
      ]
 });
?>

skeeks!
Web development has never been so fun!
www.skeeks.com

README на GitHub

Поддержка

Вопросы по установке и работе решения можно задать командой SkeekS или завести обращение в репозитории.

Обновления

v1.1.0
v1.0.1