Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (43 loc) · 1.98 KB

README.md

File metadata and controls

68 lines (43 loc) · 1.98 KB

Croppie Widget for Yii2

Latest Version Software License Build Status Quality Score Total Downloads

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