2017 © Pedro PelΓ‘ez
 

yii2-extension yii2-images-module

Π—Π°Π³Ρ€ΡƒΠ·ΠΊΠ° ΠΈ ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠΉ

image

mitrm/yii2-images-module

Π—Π°Π³Ρ€ΡƒΠ·ΠΊΠ° ΠΈ ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠΉ

  • Thursday, June 9, 2016
  • by mitrm
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 20 % Grown

The README.md

Yii2 images , Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠ°, ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠΉ

Install

composer require --prefer-dist mitrm/yii2-images-module "dev-master"
  • Run migrations:
php yii migrate --migrationPath=@mitrm/images/migrations

In config file:, (*1)

'modules' => [
    'mitrm_images' => [
        'class' => 'mitrm\images\Module',
        'domain' => site.ru,
        'base_path' => '@statics/web/mt/images',
        'base_dir' => '/statics/mt/images',
    ],
]

Usage

= \mitrm\images\widgets\ImagesUploadWidget::widget([
    'toggleButton' => [
        'label' => 'Π—Π°Π³Ρ€ΡƒΠ·ΠΈΡ‚ΡŒ',
        'tag' => 'a'
    ]
])?>

The Versions

09/06 2016

dev-master

9999999-dev

Π—Π°Π³Ρ€ΡƒΠ·ΠΊΠ° ΠΈ ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠΉ

  Sources   Download

MIT

The Requires

 

by Mitskevich Ruslan

yii2 images