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

2amigos/yii2-croppie-widget

Repository files navigation

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