2amigos / yii2-croppie-widget
Renders a Croppie plugin. The fast, easy to use, image cropping plugin.
Installs: 8 287
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 6
Forks: 4
Open Issues: 6
Type:yii2-extension
Requires
- php: >=5.4.0
- bower-asset/croppie: ~2.5
- bower-asset/exif-js: ~2.2
- yiisoft/yii2: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpmd/phpmd: @stable
- phpunit/phpunit: ~4.0
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2023-08-16 03:03:41 UTC
README
Renders a Croppie plugin. The fast, easy to use, image cropping plugin with tons of configuration options!
Install
Via Composer
$ composer require 2amigos/yii2-croppie-widget
Usage
The usage of this widget is pretty simple:
<?php use dosamigos\croppie\CroppieWidget; /* @var $this yii\web\View */ ?> <?= CroppieWidget::widget(['id' => 'test-widget', 'clientOptions' => ['enableExif']]) ?>
Testing
$ phpunit
Using code fixer
We have added a PHP code fixer to standardize our code. It includes Symfony, PSR2 and some contributors rules.
./vendor/bin/php-cs-fixer fix ./src --config .php_cs
Contributing
Please see CONTRIBUTING for details.
Credits
License
The BSD License (BSD). Please see License File for more information.
Custom Software | Web & Mobile Development
www.2amigos.us