Skip to content

oddity-agency/yii2-filemanager-widgets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Filemanager Widgets

Latest Stable Version Total Downloads License

A very smart filemanager to manage your files in the browser developed in AngularJS with Material-Design

Installation

Global ENV variables

Variable Value
AFM_TITLE 'My Filemanager'
AFM_HANDLER_URL '/filefly/api'
AFM_FILESYSTEM_BASE_PATH '/app/src/_storage'

Filemanager widget

General usage

echo \hrzg\filemanager\widgets\FileManagerWidget::widget();

Use in TWIG templates:

{{ use ('hrzg/filemanager/widgets') }}

{{ file_manager_widget_widget() }}

Input widget

General usage

echo \hrzg\filemanager\widgets\FileManagerInputWidget::widget(['name' => 'myInputWidget']);

Use it with an ActiveForm

echo $form->field($model, 'image')->widget('\hrzg\filemanager\widgets\FileManagerInputWidget');

Use in TWIG templates:

{{ use ('hrzg/filemanager/widgets') }}

{{ file_manager_input_widget_widget({"name" : "myInputWidget"}) }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.5%
  • Other 0.5%