From 0c6410d2d4ca3d01d817350daeff929d97054f40 Mon Sep 17 00:00:00 2001 From: RodrigoDornelles Date: Tue, 29 Jun 2021 10:43:49 -0300 Subject: [PATCH] improved documentation, and changed license (BSD 3 -> lgpl 3.0 only) --- LICENSE | 29 ----------------------------- README.md | 19 +++++++++++++++---- composer.json | 19 +++++++++++++++---- 3 files changed, 30 insertions(+), 37 deletions(-) delete mode 100644 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 100644 index b4c8a88..0000000 --- a/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2019, dynamikaweb -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 6fa7f82..3306fdf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ -jQuery lightgallery for Yii2 -============ -More information about gallery [here](http://sachinchoolur.github.io/lightGallery/). +dynamikaweb/yii2-lightgallery +========================= +![php version](https://img.shields.io/packagist/php-v/dynamikaweb/yii2-lightgallery) +![pkg version](https://img.shields.io/packagist/v/dynamikaweb/yii2-lightgallery) +![license](https://img.shields.io/packagist/l/dynamikaweb/yii2-lightgallery) +![quality](https://img.shields.io/scrutinizer/quality/g/dynamikaweb/yii2-lightgallery) +![build](https://img.shields.io/scrutinizer/build/g/dynamikaweb/yii2-lightgallery) Installation ------------ @@ -50,7 +54,9 @@ Once the extension is installed, simply use it in your code by : 'tag' => 'div', 'class' => 'col-4 col-sm-5' ], - // more options http://sachinchoolur.github.io/lightGallery/docs/api.html + // more plugins: + 'plugins' => ['lgZoom', 'lgThumbnail'], + // more options: 'pluginOptions' => [ 'mode' => 'lg-zoom-in-big', 'download' => false, @@ -59,3 +65,8 @@ Once the extension is installed, simply use it in your code by : ] ]); ?> +``` + +-------------------------------------------------------------------------------------------------------------- +[![dynamika soluções web](https://avatars.githubusercontent.com/dynamikaweb?size=12)](https://dynamika.com.br) +This project is under [LGPL V3.0](https://opensource.org/licenses/LGPL-3.0) license. diff --git a/composer.json b/composer.json index dc552a3..4912780 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,17 @@ "description": "widget lightgallery", "type": "yii2-extension", "keywords": ["yii2","extension"," gallery"," photo"," video"," lightgallery"," plugin"], - "license": "BSD-3-Clause", + "license": "LGPL-3.0-only", "authors": [ + { + "name": "Rodrigo Dornelles", + "email": "rodrigo@dynamika.com.br", + "role": "Developer" + }, { "name": "Robson Soares", - "email": "contato@robsonsoares.dev.br", - "role": "developer" + "email": "robson@dynamika.com.br", + "role": "Developer" } ], "require": { @@ -21,5 +26,11 @@ "psr-4": { "dynamikaweb\\lightgallery\\": "src" } - } + }, + "repositories": [ + { + "type": "composer", + "url": "https://asset-packagist.org" + } + ] }