Download the PHP package zozoh94/yii2-filemanager without Composer

On this page you can find all versions of the php package zozoh94/yii2-filemanager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-filemanager

Yii2 file manager

This module is based on pendalf89/yii2-filemanager. This module provide interface to collect and access all mediafiles in one place. Inspired by WordPress file manager.

Features

Installation

The preferred way to install this extension is through composer.

run

or add

to the require section of your composer.json file.

Apply migration

Configuration

Configuration. Routes

Default values:

If some of these parameters is not defined, default values will be used.

Default, the path to upload files is @webroot/uploads/2016/06, if you upload file in June 2016. Path for thumbnails is similar.

basePath

Base web directory url. It used for generate absolute path to web directory. It renders by function Yii::getAlias().

For example:

``

uploadPath

Path for uploaded files in web directory. It renders without changes.

For example:

dateDirFormat

Directory format for uploaded files. Makes directory recursively. It renders by function date($dateDirFormat, time()). More about available parameters read here.

For example:

thumbsDirTemplate

Thumbs directory template. Path, where thumb files are located.

Parameters {uploadPath} and {dateDirFormat} are replaced by appropriate values in settings.

For example:

Configuration. Thumbs

Thumbnails are resized in "outbound" mode.

Default configuration:

Structure of thumbs configuration:

Alias default is reserved by module for displaying uploaded images. If you set it, it will be rewrite by module default settings.

Configuration. Other parameters

rename

Set true if you want to rename files if the name is already in use. Default value: false.

For example:

autoUpload

Set true to enable autoupload. Default value: false.

Usage

Simple standalone field:

With TinyMCE:

In model you must set mediafile behavior like this example:

Than, you may get mediafile from your owner model. See example:


All versions of yii2-filemanager with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version ~2.0.8
yiisoft/yii2-imagine Version ~2.0.3
pendalf89/yii2-tinymce Version @dev
kartik-v/yii2-widget-alert Version ~1.1.0
2amigos/yii2-file-upload-widget Version ~1.0.4
bower-asset/domurl Version ~2.1
bower-asset/cropper Version ~2.3.4
fortawesome/font-awesome Version ~4.7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zozoh94/yii2-filemanager contains the following files

Loading the files please wait ....