Code Monkey home page Code Monkey logo

yii2-croppie-widget's Introduction

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

yii2-croppie-widget's People

Contributors

tonydspaniard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

yii2-croppie-widget's Issues

Uploading original image too

I have to implement a feature where I upload also the original image. And I think that I'm not the only one with this.

Seeing your quality work, I'm more than happy to create a pull request and merge this feature. But I'm interested in your opinion how you would integrate this in general (or do you even consider this a good feature).

Keep up the good work!

Croppie 2.5 no more available

What steps will reproduce the problem?

composer require 2amigos/yii2-croppie-widget dev-master

What is the expected result?

a succesfull installation

What do you get instead?

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for 2amigos/yii2-croppie-widget dev-master -> satisfiable by 2amigos/yii2-croppie-widget[dev-master].
- 2amigos/yii2-croppie-widget dev-master requires bower-asset/croppie ~2.5 -> no matching package found.

When do you provide a stable release?

Hi, I use the yii 2.0.14 with the php 7.0.2, and when installed it with Composer, this error is displayed to me!

### [InvalidArgumentException]
Could not find a version of package 2amigos/yii2-croppie-widget matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.